Issue
I have html page with multiselect drop down
HTML Code.
<select multiselect>
<option>0 months</option>
<option>12 months</option>
<option>13 monhts</option>
<option>14 months</option>
</select>
This is showed in android web view
This shows first option(0 months) in label,But i want to show 'Select age' as label .
I tried disabled attribute in 1st option
<option disabled>Select age</option>
<option>12 months</option>
<option>13 monhts</option>
,but this does not shows in label
Thanx in advance
Solution
This should do the trick :
<select multiselect>
<option disabled="disabled" selected="selected" hidden="hidden">Select Age</option>
<option>0 months</option>
<option>12 months</option>
<option>13 monhts</option>
<option>14 months</option>
</select>
Answered By - Pierre Rust
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.