ursrathika Posted April 13, 2010 Share Posted April 13, 2010 hai friends i have a problem to dropdown list, i have use this url coding http://www.plus2net.com/php_tutorial..._down_list.php (download link --ajax dd) this process use two dropdownlist boxes , my problem is i want insert dropdownlist text only,but here they use get value... how to get dropdownlist text value....pls give me a solution.... excname = dfgdg $cat = 2(cat ddlist)-----i need text value only what to do....help me. $subcat = ICWA(subcat ddlist) rathi. Quote Link to comment https://forums.phpfreaks.com/topic/198347-dropdownlist-insert-value-problem/ Share on other sites More sharing options...
andrewgauger Posted April 13, 2010 Share Posted April 13, 2010 This sample is using AJAX to query your database to get the values from a table and populate the second box. Where are you getting your data from? If you have static data inside your html file that (given is small in size) you want to modify the options of the second box, then you should use strictly JavaScript. Are you requiring assistance setting up a database for the AJAX script to work or are you looking for JavaScript instruction how to populate a second drop down box? Quote Link to comment https://forums.phpfreaks.com/topic/198347-dropdownlist-insert-value-problem/#findComment-1041119 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.