>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Behalf Of Deepali Naik
>>Sent: Monday, March 31, 2003 1:30 PM
>>On selecting from a drop down menu (HTML), we select a particular value.
Now we want, according >>to this value, the related values thaty are there
in the data base shld be shown in another
>>textbox.

YOu can do this in two ways..
1. Write a code in client side script to submit the form when onchange()
event is called. Then at the server catch the selected value and then output
<option></option> tags to populate the other drop down box.
2. You can put the complete main value - subvalue pair in the client side
array while page is loaded. then using client side script written for
onchange(), populate the second drop down box automatically.



Kiran Ghag
Software Engineer @ Patni Computers, India
Web Page: http://kiran7.freeservers.com
  _____

I used to live in a house by the freeway. When I went anywhere, I had
to be going 65 MPH by the end of my driveway.
I replaced the headlights in my car with strobe lights. Now it looks
like I'm the only one moving.
I was pulled over for speeding today. The officer said, "Don't you know
the speed limit is 55 miles an hour?" And I said, "Yes, but I wasn't going
to be out that long."
I put a new engine in my car, but didn't take the old one out. Now
my car goes 500 miles an hour.
-- Steven Wright




-- 


http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to