JavaScript - - By Sam Deering

jQuery check if field is read only

A jQuery code snippet to check if field is read only.

//if field is not read only
if($(this).attr('disabled'))
{
  ...
}
Sponsors