SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2006
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    New Dropdown from Click?

    Hey,

    I have been trying to do a form in PHP for a client that requires a seperate dropdown to appear only if the country "Australia" is selected in the top drop down.

    I have studied ASP.NET and I am aware that it can handle this easily, however I am stuck on how to handle this in PHP.

    I have looked into AJAX and things, but I am still not sure if it is the correct and it looks a bit complicated.I just need a way to simply make a new dropdown with the states of Australia appear IF the country selected in the box above is Australian..

    Any Ideas or help anyone?

    Cheers

  2. #2
    SitePoint Wizard silver trophy
    Join Date
    Mar 2006
    Posts
    6,132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    assuming you want the new element to appear without the page reloading, this is primarily a javascript question. so you would get a better reply in the javascript forum.


Bookmarks

Posting Permissions

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