Thursday, October 27th, 2011
If you want to validate if a checkbox is checked using jquery (javascript framework), here is the code snippet for the purpose.
We'll use :checked selector for the purpose.
Posted in Javascript, Jquery, Tutorials | No Comments »
Tuesday, October 18th, 2011
Sometime you may need to find position of a character in a string, charAt() string method comes in for the purpose.
For instance, when you execute the following code;
var mystr = 'I am a test String.';
document.write(mystr.charAt(3)); // Result will be 'm'
Posted in Javascript | No Comments »