6
rated 0 times
[
7]
[
1]
/ answers: 1 / hits: 98933
/ 11 Years ago, thu, october 17, 2013, 12:00:00
I need to return true or false if an option in a drop down selected.
This is my code:
var active = sort.attr('selected') ? return true : return false;
I get an error that the first return
is unexpected.
Why?
More From » jquery