Alex,
I would do something like:

var optionstoform = {
roadtrip : 'roadtripform.htm',
vanpool : 'vanpoolform.htm'
};

and on the select menu put a vanpool, roadtrip as the value of the options
and bind a change event to it, which i think you have already, and do a
$.load or $.ajax call that looks something like.

$.ajax example

$.ajax({
dataType: 'html',
url: optionstoform.roadtrip,
success:function(){
// events to add the new form element to old
}
});

This is all just off the top of my head, but this is the approach I am
taking on a current project that needs to pull in an number of different
elements at a time.

Hope this points you in the right direction.

--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to