Errors – Solutions

How I get query string values in JavaScript?

javascript solutions

Today i am going to show you, how you can get string values by using JavaScript ?. Yes you can do it by using pure JavaScript, you do not need any JavaScript Plugin or library for this task. JavaScript have some build-in method for getting query string values. Here is the code of JavaScript by following this you can easily ...

Read More »

How to “Checked” a checkbox by using jQuery?

javascript solutions

The problem is many beginner programmer have a question and i saw same question on various forum that how to checked a checkbox by using jQuery ? either single checkbox or multiple, so here i am going to solved the problem. If you are using jQuery version 1.6 and onward then .prop() method is the best option for you, more ...

Read More »

Commented wrong file to Git – How undo last comment in Git?

How undo last comment in Git

What is Git? Git is a version control system in which you have series of snapshots of your code in order, in which you are created. You create branches of experiment and back to your snapshots. Git not only saving the branches locally, but also you can publish some branches on GitHub. Going to show you, if you upload wrong ...

Read More »

How to Check if Checkbox is Checked or not in jQuery

javascript solutions

This tutorial show you how to check, Is checkbox either checked or not in jQuery?. To check checkbox is checked or not is very simple task, after searching on the internet i am going to discuss the easiest and authentic solution of it. Here i describe three solutions, its depend on you which you follow or your which jQuery version ...

Read More »

Which is the best way to use value for loading JavaScript link “#” or javascript:void(0)”?

javascript solutions

Going to discuss which href value is best for load JavaScript function “#” or  javascript:void(0)”?. Here there are two methods available which you can use when user click on the link the JavaScript function execute. 1. Load JavaScript function by using “#” in href value. <a href=”#” onclick=”yourJsFnc();”>Execute JavaScript Code</a> 2. Load JavaScript function by using “javascript:void(0)” in href value. ...

Read More »

How you can include a JavaScript file to another JavaScript

javascript solutions

Many programmers have queries that how they can include a JavaScript file to another JavaScript, Is there any way to achieve ? The answers is JavaScript does not support methods include, import, required like other programming languages supports. But there are some other ways available in JavaScript to import/include JavaScript file in another JavaScript file. 1. Loading JavaScript file using ...

Read More »

How to Removed a Element from an Array in JavaScript ?

javascript solutions

Today i am going to discuss how to removed a particular element from the Array in JavaScript. For doing this you need to find the index of specific element which you want to remove from the array, after finding the index you can easily delete that element from the array. JavaScript provides two predefined function splice & indexof by using ...

Read More »