I have an input box and I want it to be disabled and at the same time hide it to avoid problems when porting my form.
So far I have the following code to hide my input:<
Just use jQuery's attr() method
attr()
$(this).closest("tr").next().show().find('.longboxsmall').attr('disabled', 'disabled');