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

 

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.