Jump to content

Dropdownlist insert value problem......


ursrathika

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/198347-dropdownlist-insert-value-problem/
Share on other sites

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.