:enable Gets the input-enabled element
:disabled Gets the input-disabled element
:checked Gets the selected form element
:seleced Gets the selected element in the drop-down box
Let’s look at an example
Html
< form id="form1" runat="server">
JavaScript code :
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn