Thursday, 15 July 2010

Change all the text boxes in a specific div to readonly using jquery -



Change all the text boxes in a specific div to readonly using jquery -

i trying alter text boxes within specific div readonly , not working. here code.

$("#bysuper").(function(){ $('input[type=text]').prop('readonly',true); })

try $("#bysuper input[type=text]").prop("readonly", true);

jquery

No comments:

Post a Comment