Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Dynamic drop down(SELECT TAG) PHP AJAX

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
9,220
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 25, 2010

Dynamically creating drop downs in a form.
There was an error in IE6 pointed out by sever3d.
IE has bug in innerHTML property that it won't add html to "select" element.
http://support.microsoft.com/kb/276228

Source
http://www.mediafire.com/?cgiun87f76kizja
The source file is totally compatible and as I was also requested to use database to save countries and states. I did include database dbs.sql file which you can import see the 'README' file for detail. I am sorry I am sharing the code too late.
please joing my facebook group for regular JS tutorials and other queries
http://www.facebook.com/group.php?gid=7551735644

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (alihammadshah)

  • please see the description for source files.

  • I used a website pastebin.ca to share code which is now offline for some reason my code has been lost. I apologize to all viewers, :(

  • it is working under Firefox but doesn't work under IE. it is multiplying select boxes in IE and they have no states inside. please help

  • @sever3d It is due to innerHTML IE bug. I have included links to working source in the description of the video.

    Sorry i didn't check this app on IE, and thank you for pointing that out.

see all

All Comments (29)

Sign In or Sign Up now to post a comment!
  • im new to php is this possible without using ajax... thats too complicated for me

  • 4:00

  • Hi! Thank u 4 this AJaX tutorial, it helped me loadz...

  • Nice video for Dynamic update of drop down list. if you know, then kindly tell me how to do this using phpmyadmin database?

  • @dcharlequin hai have you got the submit.php code. if is it so, then i kindly posted it here... it may help me to develop web development skills...

  • Great tutorial as usual. What if I wanted to add a third tier?

  • good

    

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more