chapeen Posted October 22, 2009 Share Posted October 22, 2009 Hi everyone, I have a registration form. I have 1 dropdown list that contains the country name, when a user selects a country a second dropdown list gets populated with states/province using jquery, that works fine. When a user wants to modify his account, how do I populate those 2 dropdown list using jquery? I have a doubts on how to do this. Quote Link to comment Share on other sites More sharing options...
cbolson Posted October 22, 2009 Share Posted October 22, 2009 Hi, Why do you want to populate it with jquery (when modifying)? As you already have the country and province, surely you can populate the province dropdown list in the *normal* way - ie do a direct select from your database using the country id to select the provinces and the provinceid to mark it as selected. Chris Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.