i am newbie to javascript
and i want to know how to set value in a hidden field using java script
and how to hide a div using java script ?
i am newbie to javascript and i want to know how to set value
Share
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.
Set the value for hidden field:
Hide a div:
You might want to peform either of those actions if some element gets clicked, you could do:
where id can be set for an element like this:
Have a look at: