I have this HTML:
How can I do something li
We can simply have if & else .if suppose your input is empty we can have
if($(#name).val() != '') { $('input[type="submit"]').attr('disabled' , false); }
else we can change false into true