html - Form Select List - Initially selected option not working correctly in IE -


i have form select list of various office locations, have set should have office selected not seem work in ie!!! (no surprise)

here using preselect:

<option selected value="office 1">office 1</option> 

here site: http://www.nwtaxpreparation.com/offices/122andpowell.html

let me know if have solutions!

html 4 uses:

<option value="foo" selected>bar</option> 

xhtml requires:

<option value="foo" selected="selected">bar</option> 

to "there no such thing selected="whatever" false!


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -