Home  >  Article  >  Web Front-end  >  jquery judgment code for the checked attribute of the input tag in html_jquery

jquery judgment code for the checked attribute of the input tag in html_jquery

WBOY
WBOYOriginal
2016-05-16 17:49:49907browse

Although there will be such errors, if you test it carefully, you will find that when the input type attribute is set to button, it still has the checked attribute, and the default is false. The code is as follows:

Copy code The code is as follows: