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.
|
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)
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
|
|
|
|
Online Bookmarks Sharing: