I noticed some strange behavior in Firefox. If you do a standard HTML select box, and set one of the options programmatically to selected on the server side before the select box is rendered (say with ASP or PHP) Firefox sometimes will ignore your select. If you copy the output code and create a standard HTML file out of it, the proper select option will then be selected. Weird.
The workaround is to set the option to <option value="myval" selected="true">some text</option>
Strange. Hope this helps someone out.
[Update] use checked="checked" for radio buttons (same problem)
A Southwestern adventurer striking out into the badlands of the Midwest for fun, profit, and for a wife who wouldn't move back to the Southwest :)
Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts
Wednesday, August 01, 2007
Funky Firefox
Friday, June 22, 2007
HTML 5 Is On Its Way
Check out the draft of the spec here.
http://dev.w3.org/cvsweb/~checkout~/html5/html4-differences/Overview.html
http://dev.w3.org/cvsweb/~checkout~/html5/html4-differences/Overview.html
Subscribe to:
Posts (Atom)