jquery

Jquery add click event for dynamically generated button

 

By bm on May 17, 2016 | jquery | A comment?

jquery get selected checkboxes values

 

By bm on | jquery | A comment?

jquery window close event

jQuery(window).bind(‘beforeunload’,function(e){
//save info somewhere
return ‘are you sure you want to leave?’;
});

jQuery(window).unload(function(){
//I will call my method

});

By bm on February 13, 2014 | jquery | A comment?

jquery geting object from html string

var elements = jQuery(‘<div><div>Live Customer Spport</div></div>’);

var found = jQuery(‘.head’, elements);
console.log(elements);
alert(elements.html());
alert(found.html());

By bm on | jquery | A comment?

regular expression validation example

By bm on | jquery | A comment?

jquery is checkbox checked

By bm on January 22, 2014 | jquery | A comment?