[jQuery] Re: tabindex for beginners

2008-11-26 Thread gil_yoktan
Hello Mark. Thanks for responding. It still doesnt work. (jQuery 1.2.6 with IE 6.0 sp2 for XP) When I run it like this I get the error "Microsoft JScript runtime error: Object doesn't support this property or method" in jQuery.js "jQuery.readyList.push(function(){return fn.call(this,jQuery);})" i

[jQuery] Re: tabindex for beginners

2008-11-26 Thread Mark Gibson
If you are using IE, then it won't currently work in jQuery 1.2.6. Add the following fix at the top of your script: if ($.browser.msie && !$.props.tabindex) $.props.tabindex = 'tabIndex'; and you don't need to use the each() call, just do this: $(':input').attr('tabindex', -1); a better idea,