Ive built a number of forms that I now want to display based on the user choosing the nessecary select option.
What is the best way to add this within jquery so that I can animate the forms (i.e fading in and out) when selected.
Thanks,
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.
You may consider using a pre-built option from jQuery UI, such as http://jqueryui.com/demos/accordion/ or http://jqueryui.com/demos/tabs/
If you want to build it yourself, you can start with:
The JavaScript:
See the fiddle: http://jsfiddle.net/XG87j/