i want to populate second and third drop down with same value after selecting the first drop down through ajax and php.
example - after selecting country, rest of two drop down should populate with same cities name related to that country.
please help me in this problem.
thanx waiting for response.
thanks, it ws gr8 help
Hi. I want to use your codes for my wordpress site. I supposed dd.php, main.php and mainck are all i need for the ajax version of the dropdown.
Greetings. This solution has worked great for 2 years; however, when there are more than 100 records in a given category, that category does not get populated in the 2nd dropdownlist. Do you have any recommendations? Urgently needed and great work!
In the table structure you have Type for cat_id and subcat_id like this
Increase the number by one
That will solve the problem. You should login to your database ( phpmyadmin ) and change / edit the each field structure.
can you make it so that the second list is not displayed until 1st is selected?
can you please tell me how can I get selected item from drop down list in text box.
thanks in advanced.
Hello sir, how can i show the selected item from drop down list in text at same page without reloading page.
For example when i selected Colors from one dropdwon then Red is selected another dropdown so w=hen i submitted next page show Red and when i back to this page so Colors is selected but Red is not selected .?? how this is possible ??
i would like you work thanls....
suggest me how to work in drop down list if add new record add then how to new record in drop down list without reload page
Good Demo Given By you
nice tutorial thanks !1
Thanks for this script,
i need help,i use this script for my project and i need to know how if i want use this script in same page using "while" or "for" looping?is it possible?
It is possible, but not clear exactly what you want to do ?
on localhost page is refreshing. "When I change the select option the page refreshes and all of my form data is lost
You are using wrong script, try to use the script with Ajax. The page should not reload so your form data will remain.