mbt masai
 
Welcome !
         

                                
After experiencing a lot of down time, We decided to move this site to CrystalTech.com. CrystalTech.com is powered by only the finest Windows servers providing the best performance, reliability, and value anywhere.

 Select Box problem

Author Message
akpaga

  • Total Posts : 19
  • Scores: 0
  • Reward points : 0
  • Joined: 11/12/2008
  • Status: offline
Select Box problem Wednesday, January 06, 2010 4:48 AM (permalink)
0
hi

i have a select box in this way

<select name="customer" id="customer">       
       <option value="<%= strcustomer%>"  selected><%= strcustomer%></option>
        <option value="regular">regular</option>
  <option value="Non-regular">Non-regularl</option>

basically what i want is when strcustomer value is regular then i want option value ="regular" not show in the select box
and same with  Non-regular. I dont wnat the value to repaeat twice.

strcustomer value  is got from the database based on the customer id.

The reason i am doing this way is that new customer also uses the same page where strcustomer value is ="select a category"

Thank you
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.8
    mbt shoes www.wileywilson.com