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
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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.