Is there a way to hide a form from my users until they click a link and then the form drops down for the user to fill out, by using PHP or JQuery if so how? Is there a tutorial that will teach me how to do this?
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.
Yes, you can do so, you hide the form initially either with jquery or css and the
slideDownit down like this:and to hide it back, you can use the
slideUpfunction:If you want to show and hide using same link, use the
slideToggleinstead:Here is the prototype for your html:
and jquery for that:
and finally here the demo for that