How to disable all the controls(buttons, anchor, textbox,...) in the page using jquery. I need this to show a preview of a page, in which i don't want to the user to click anything.
$("#id_button").attr("disabled","disabled");
or
$(".class_buttons").attr("disabled","disabled");
or
$(":input").attr("disabled","disabled");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With