Jump to content

dropdown value display in div id


veluit06

Recommended Posts

Hi,

Please help me to display value from dropdown to div

I have 2 different dropdown box each have different values, if i select 1st dropdown, selected value should display in 1st div, same for second dropdown, but i need everything in one function.

Plz help me to get this asap.

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/242041-dropdown-value-display-in-div-id/
Share on other sites

Hi,

Thanks for your reply..

Actually am displaying a output value in <label> tag. When am reset i cant able to display the default label value in output. Below is the sample.

 

Example:

 

<label id="showvalue1">India</label>, <label id="showvalue2">Japan</label> - These are the default values, After submit this values will exchange, means (showvalue1="Japan", showvalue2="India"). But when i press reset button i want to show the default value of each label. can u plz help me this

 

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.