Results 1 to 1 of 1

Thread: jQuery for dynamic forms

  1. #1
    Join Date
    Feb 2006

    Question jQuery for dynamic forms

    I am running into an issue that makes me think there is a better way to do things. Basically, it's a booking system that has many options pending on what was selected in each form section.

    How I'm doing it:

    - Form has a dropdown, it has 3 entries the correspond to hidden divs
    - An option is selected and jQuery unhides the corresponding div
    - Now, a Second dropdown is visible with 5 entries populated by PHP

    That's where I stop. The second drop-down should allow the user to select an option and then populate ANOTHER drop down.

    I WANT to use the javascript variable to make my php call. But, in my understanding... never the two shall meet.
    But, it's getting to the point where I would have about 100 hidden divs with custom PHP calls to get the right data into them.

    Is there a better way to do this?
    Last edited by $var; 01-10-2011 at 03:06 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center