Thread
:
Disabling a text field depending on 2 options
View Single Post
08-30-2011, 08:49 PM
PM User
|
#
2
Tails
Regular Coder
Join Date: Nov 2002
Posts: 672
Thanks: 1
Thanked 1 Time in 1 Post
The || separates statements, not values. Do this instead:
Code:
if(qr_type.value == 'bio' || qr_type.value == 'rebrand')
It may be easier to assign numeric values to the options so that you check if the value is greater than 0.
__________________
Go to:
http://www.TailsArchive.net/
http://xfox.proboards21.com/
Users who have thanked Tails for this post:
jcdevelopment
(08-30-2011)
Tails
View Public Profile
Visit Tails's homepage!
Find More Posts by Tails