how can i change the value of this input field using jquery?
<input type="hidden" name="emailaddress" value="admin@admin.com">
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here,
input:hiddenpoint to hidden input[name=emailaddress]check fornameattribute.so totally
$('input:hidden[name=emailaddress]')select the input which is hidden and withnameattributeemailaddress..val()used to set/get value to input field. With parameter it acts as a setter and getter without it.