Hi,
I have a form that has several fields which are common for all
actions. There are other fields in the form that need to be
conditionally displayed based on the type of post being made.

I know how to show a div with the extra fields based on what option
the user selects in a HTML select field.

http://strtest.alexezell.com/posts/
and choose Road Trip

However, hiding and showing divs for so many options gets a little
unwieldy. It seems like the easiest thing would be to pull in a file
via Ajax with the corresponding fields based on the HTML select
choice.

Being new to jQuery, I don't even know where to start by doing this.
Could someone point me to the functions or methods that seem to fit
with what I want to do? Really, any help would be appreciated.

I am certainly open to other ways to approach what I want to accomplish.

Thanks!

-- 
Alex Ezell

_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to