I want to target this input and change it dynamically with jQuery:
<select id="sub_cat" style="" name="sub_cat">
<option selected="selected" value="-10">All</option>
I want to be able to change ‘All’ with an if statement based on different variables. Is this possible with jQuery? And how? Any help is appreciated. Thanks
jsFiddle Example