JavaScript

Moderators: None (Apply to moderate this forum)
Number of threads: 2061
Number of posts: 5164

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Change value of 2nd inputbox Posted by eluis on 15 Jun 2008 at 10:02 AM
Hi,

I have 2 tables in MySQL.
First table has a name and a code. Second table as other names and a code for the code from the 1st table.

How can I select a value on an inputbox and according to that value, second inputbox will automatically shows only names that are from 1st inputbox?!

Ex.

1st table -> Countries: USA, UK, Spain, Portugal
2nd table -> Cities: USA:New York; USA:Chicago; UK:London; SPAIN:Barcelona; SPAIN:MADRID; etc....




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.