nested selected tag ihave display selected item
i have two combo boxes combo1 combo1 in first combo box i taken as follows
select name="combo1">
option value="0">-select-
option value="1">INDIA
option value="2">UK
etc
in other combo box display all states relate first combo box, ok it can be done by creating array
my problem is when i display data like this $_POST["combo1"] it will show vlaue . suppose i select INDIA it shows "1" , but i want "INDIA", and i use if condition for each value and display by using "echo" but it difficult check all combinations for each country with corresponding states is it any shortcut method in php like in javscript seletedIndex.
thanks
View Answers
October 20, 2011 at 12:46 PM
Change the option values of select box to India,USA like that.
Ads
Related Tutorials/Questions & Answers:
nested selected tag ihave display selected item
nested selected tag ihave display selected item i have two combo...="2">UK
etc
in other combo box
display all states relate first combo box, ok it can be done by creating array
my problem is when i
display data like
selected radiobutton to display different page
selected radiobutton to
display different page there are three radio button are there , in that
selected button to
display different page. when submit it, using struts2 framework .
plz help me to how write code
Advertisements
. Display JavaScript dropdown selected value
.
Display JavaScript dropdown
selected value How to get the
selected...("dropdown").value;
alert("You
selected : " + dropdownValue);
}
<...;/html>
Description: Create dropdown list by using select and option
tag. Now when
Java JComboBox Get Selected Item Value
Java JComboBox Get
Selected Item Value
In this section we will discuss about how to get the
selected item value form JComboBox.
javax.swing.JComboBox.... In this tutorial we are discussing about how to store
the
selected item value
uitableviewcell selected color
uitableviewcell
selected color HI,
How to add uitableviewcell
selected color?
Thanks
Hi,
Here is the code:
UIView *viewSelected = [[[UIView alloc] init] autorelease];
viewSelected.backgroundColor = [UIColor
show selected date range in calender
show
selected date range in calender helo,
i'm working in a project in jsp.
suppose thier are 2 textbox 1.start date 2. end date
whatever date
selected in these textbox get highlighted in the calendar,
please help
Javascript get Date And Selected Option Text
to get the
selected option text and displayed
in Javascript.
This tutorial explains you that how to
display the date and the
selected
option text in Javascript...Javascript get Date And
Selected Option Text
In this tutorial we will learn
how to get selected name from combo box
how to get
selected name from combo box i have fetched all records... of worker name within d combo box and
display that id into a text box.
plz answer me this
q. urgently.
With Regards,
Vishwnath
how to get selected name from combo box
how to get
selected name from combo box i have fetched all records... of worker name within d combo box and
display that id into a text box.
plz answer me this
q. urgently.
With Regards,
Vishwnath
how to get selected name from combo box
how to get
selected name from combo box i have fetched all records... of worker name within d combo box and
display that id into a text box.
plz answer me this
q. urgently.
With Regards,
Vishwnath
how to get selected name from combo box
how to get
selected name from combo box i have fetched all records... of worker name within d combo box and
display that id into a text box.
plz answer me this
q. urgently.
With Regards,
Vishwnath
how to get selected name from combo box
how to get
selected name from combo box i have fetched all records... of worker name within d combo box and
display that id into a text box.
plz answer me this
q. urgently.
With Regards,
Vishwnath