Saturday, 22 September 2012

Disable the content and uncheck the check boxes on load of the body

//Call  this function on load of the body 

function disableAndUncheckOnLoad(){
$('.wrap').attr('disabled', 'disabled');
$('input').attr('disabled', 'disabled');
$('input[type=checkbox]').each(function(){
  this.checked = false;
});


No comments:

Post a Comment

Thank You for your valuable comment

Difference between class level and object locking and static object lock

1) Class level locking will lock entire class, so no other thread can access any of other synchronized blocks. 2) Object locking will lo...