1 | initial version |
The method for choosing a particular element using its name using jQuery is to use the attribute selector. The syntax for using the attribute selector is as follows:
$("element[name='value']")
For example, to select an input element with the name "username", the code would be:
$("input[name='username']")