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
$('#option_id').text('target text');would change the option text to whatever you want, the if statements shouldn't be too hard to do