• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

select> option in html

 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All

I am develpoing an web appliction. In that I have two <select> opitons out of with I m supposed to select only one <select> option. I need to pop a message if the user is trying to select both <select> options.

And I am using a paging concept in this. If I click on previous the options what ever I select previously are going back to default value. I dont want that to happen.

Could any one help in this.

Thanks and Regards

Jetendra


I am struck in my project with
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Showing code helps a lot more than a few lines in a discription.

Eric
 
Jetendra Ivaturi
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
<td><div align="center"><select name="compliance">
<option value="">--Select--</option>
<option value="Agreement with customer not to
update">Agreement with customer not to
update</option>
<option value="Case is closed by customer">Case is closed by customer</option>
<option value="Reassign case from other team">Reassign case from other team</option>
<option value="Case escalated to backline">Case escalated to backline</option>
<option value="LTO/Await patch/Inactive turn to Active">LTO/Await patch/Inactive turn to Active</option>
<option value="Opened Sub-case">Opened Sub-case</option>
</select></div>
</td>
<td><div align="center"><select name="non_compliance123">
<option value="">--Select--</option>
<option value="DRE on Leave">DRE on Leave</option>
<option value="Researching by the DRE/Failed to update">Researching by the DRE/Failed to update</option>
</select></div>
</td>
<td>
<select name="compliance">
<option value="">--Select--</option>
<option value="Lead sent a follow up mail">Lead sent a follow up mail</option>
<option value="Onsite DRE working on the case">Onsite DRE working on the case</option>
<option value="Customer agrees for a closure">Customer agrees for a closure</option>
</select>
</td>
<td>
<select name="non_compliance">
<option value="">--Select--</option>
<option value="DRE on Leave">DRE on Leave</option>
<option value="Failed to update">Failed to update</option>
</select>
</td>






This is my code. I have two select boxes here where I need to select only one select box at a time
 
If you were a tree, what sort of tree would you be? This tiny ad is a poop beast.
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic