View Single Post
Old 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
Tails is an unknown quantity at this point
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.
Tails is offline   Reply With Quote
Users who have thanked Tails for this post:
jcdevelopment (08-30-2011)