How can I use jQuery to select an element with “name” attribute e.g <input type=”text” name=”test” value=”‘ />
You can use jQuery attribute selector to select the html element with ‘name’ attribute
$('input[name=test]')
How can I use jQuery to select an element with “name” attribute e.g <input type=”text” name=”test” value=”‘ />
You can use jQuery attribute selector to select the html element with ‘name’ attribute
$('input[name=test]')