hai experts

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.

I don't this has got anything to do with php.

it's javascript:

var w = document.myform.mylist.selectedIndex;
var selected_text = document.myform.mylist.options[w].text;
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.