Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 15th, 2009, 11:52 AM
Authorized User
 
Join Date: Aug 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default Dependent drop down list advice

Hello all.
First off, please excuse my total lack of knowledge when it comes to this....but that is why I am here in the first place, to learn right?

I was hoping somebody could advise me on the following: I was trying out this dependent drop down list for states populated by country and it works fine, but when I load it into my table in mysql, using php, it loads the code created for the country and state instead of the full name. So instead of displaying United States when pulled out mysql, it displays US....and so forth.

Here is the link to the code so you can see what I am talking about: http://javascript.internet.com/forms...drop-down.html

I am not looking for somebody to come and do all the slog work for me, but Im just confused as to where to change it. My js knowledge is clearly lacking big time!

thanks in advance
Clint
 
Old September 15th, 2009, 12:07 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi there,

The code you linked to works fine, so the problem must be in your custom My SQL / PHP code. I think you're better off posting that code in one of the PHP categories here at Wrox.com.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
 
Old September 15th, 2009, 12:10 PM
Authorized User
 
Join Date: Aug 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

No problem, I will do that.
Thanks for the quick response!





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to retain form values from dependent list ? George B Javascript 0 September 15th, 2006 03:54 PM
dependent drop downs p2pMember ASP.NET 1.0 and 1.1 Professional 0 July 19th, 2006 05:25 AM
3 Drop Down box w/ db values & dependent choices smarks Classic ASP Databases 1 March 2nd, 2005 03:32 PM
Retain form value from dependent list box qhong Dreamweaver (all versions) 18 November 4th, 2004 03:36 AM
Two drop down dependent list boxes and a Button tcasp Classic ASP Basics 0 August 5th, 2003 02:06 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.