Tabbing through form elements in IE8

Microsoft has a proud tradition of fixing IE bugs in its successor version. Unfortunately, there is an equally rich tradition of introducing irrational, basic bugs as well. There is a bad, bad bug in IE8 that I spent many an hour researching to no avail, so I thought I'd post the solution here.

Under certain circumstances, you will not be able to "tab through a form" -- ie. use the tab key to go from one form element to the next, standard-issue behavior in the rational (non-IE) browsers. I had a standard form that when tabbed through, would start selecting images on the page, etc. in a seemingly random way.

The solution is to use the HTML tabindex property, to ensure that IE tabs in the correct order.

 
<form>
<input type="text" name="meeting[name]" tabindex="1">
<input type="text" name="meeting[attendees]" tabindex="2">
<input type="text" name="meeting[location]" tabindex="3">
<input type="submit" name="submit" tabindex="4">
</form>
 

As a side note, I fail to understand how so much product goes out the door at Microsoft without any QA to speak of.


COMMENTS / 2 COMMENTS


Pillspot.org. Canadian Health&Care.Best quality drugs.Special Internet Prices.No prescription online pharmacy. High quality drugs. Order pills online

Buy:Propecia.Cialis Super Active+.Viagra Soft Tabs.Zithromax.Viagra Super Active+.Cialis Soft Tabs.Cialis.Soma.VPXL.Viagra Professional.Levitra.Super Active ED Pack.Maxaman.Viagra Super Force.Tramadol.Viagra.Cialis Professional….

GORDON added these pithy words on Jul 05 10 at 8:24 am


Medicamentspot.com. Canadian Health&Care.Best quality drugs.No prescription online pharmacy.Special Internet Prices. High quality pills. Buy drugs online

Buy:Zovirax.Valtrex.Arimidex.Synthroid.Actos.Prednisolone.Prevacid.Nexium.100% Pure Okinawan Coral Calcium.Retin-A.Zyban.Human Growth Hormone.Accutane.Petcam (Metacam) Oral Suspension.Mega Hoodia.Lumigan….

JASON added these pithy words on Jul 21 10 at 4:19 pm

SPEAK / ADD YOUR COMMENT
Comments are moderated.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre> <img>

Return to Top