Re: [jQuery] Including a file based on Form Select

2007-02-20 Thread Benjamin Sterling
Of course! lol, but now you know for future reference what to do. -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Including a file based on Form Select

2007-02-20 Thread Alex Ezell
You know. They did. However, the client decided they want the flow to work differently so I ended up not needing to include the files via Ajax. Such is working with clients. /alex On 2/19/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > Alex, > No problem on the short name, I go by both :) > >

Re: [jQuery] Including a file based on Form Select

2007-02-20 Thread Benjamin Sterling
Alex, No problem on the short name, I go by both :) Did any of these examples help you out? -- Benjamin Sterling http://www.KenzoMedia.com http://www.KenzoHosting.com ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Including a file based on Form Select

2007-02-19 Thread Alex Ezell
Excellet Kristinn! Thanks! /alex On 2/19/07, Kristinn Sigmundsson <[EMAIL PROTECTED]> wrote: > Heres a similar example from when I was starting out with jquery, had > ALOT of "test" pages back then :P > Might help you > > Javascript: > var formOptions = { >

Re: [jQuery] Including a file based on Form Select

2007-02-19 Thread Kristinn Sigmundsson
Heres a similar example from when I was starting out with jquery, had ALOT of "test" pages back then :P Might help you Javascript: var formOptions = { male: 'test5.php?type=male', female: 'test5.php?type=

Re: [jQuery] Including a file based on Form Select

2007-02-18 Thread Alex Ezell
Thanks Ben! I am working on implementing this now. I will post again, once I have it. Perhaps my blunders can help you to know what not to do :) /alex On 2/17/07, Benjamin Sterling <[EMAIL PROTECTED]> wrote: > Alex, > I would do something like: > > var optionstoform = { > roadtrip : 'roadtripfor

Re: [jQuery] Including a file based on Form Select

2007-02-17 Thread Benjamin Sterling
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

[jQuery] Including a file based on Form Select

2007-02-17 Thread Alex Ezell
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.