i have a form hidden with inline style="display: none;"
how can i dinamicaly change this style to style="display: inline;" when a link on the page is clicked?
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.
Prety simple
Update
jQuery is a lightweight JavaScript library that can do tons of cool stuff, with writing a very less script from the developers side.
First of all, I suggest you to read “How jQuery works?“, is has everything you need to get started using the jQuery.
I will explain the code I wrote in the fiddle.
First of all the link & form
Remember the id in the link and form above. That is how we are going to select the element in the script just like what
document.getElementById()does.Lets hide the form by default
Now lets write the jquery
Hope it is enough, to get you started.