Hi all,
I have a select box with following options
select id="box" ><br/>
option value="1"Same Day<br/>
option value="5">96<br/>
option value="4">72<br/>
option value="3">48<br/>
option value="2">24<br/>
select>
I Want to add attr selected to option value '4' , i know i can show it selected via
$("#box").val(4)
But this just shows it selected but does not add attribute selected to option 4, what i want is to add attribute selected to option.
Please suggest
Thanks