if ($(‘#myElement’).length > 0) { // it exists }
Leave a CommentTag: jQuery
$(‘#element’).hover( function(){ $(this).addClass(‘hover’) }, function(){ $(this).removeClass(‘hover’) } )
Leave a CommentWhen you have web page too long, it is recommended to provide your users easy navigation mechanism.You we can provide it in many ways like…
Leave a CommentHere is the simple script to check live username or email availability using jQuery’s Ajax method in CodeIgniter. you can also apply this logic/method to…
2 CommentsThis post is about Checking and Un-Checking all the check boxes with one single click. Below is the Sample code to Check or Unchecked All…
Leave a Comment