Home  >  Q&A  >  body text

Some summaries on button deactivation disabled issues

Regarding what the teacher said when editing administrator information, if the form information has not changed, the submit button cannot be clicked:

The teacher’s code is as follows:

$("form" ).children().change(function(){

$("#submit").removeClass('disabled');

});

Here There is a problem with the code. It lies in the content directly connected to the form element obtained by children().

宝怡宝怡1825 days ago1197

reply all(0)I'll reply

No reply
  • Cancelreply