January 16 2013

Jquery Find Attribute Name Value of Input

Tagged Under : ,

jquery
Because want use jQuery get the input box value but the input box without the id attribute.

Then need use name attribute to find the input box get the value.

You can use below example to get input box value.
Example:
$("input:text[name=author]").val();

Make a Comment

*

code