Hello in my script, this line is to refer to any button on my page
 < Code> $ ("input"). Click (function () {warning ("clicked"); but_id = (this.id);});   This will work on any input element, but I can not just reference one button. I thought it would work but
  $ ("input: button") is not there. Click (function () {  Can anyone give advice?
Supports a wide range of jazz selectors. You can select all the input buttons and by submitting it by type:
  $ ('Input [type] = Button], input [type = submit] ')   
Comments
Post a Comment