I have a jQuery statement that's working fine. How would I re-write it in .live
?
$(document).ready(function()
{
$(':input:enabled:visible, a:enabled:visible, span.ValidatorClass').each
(function(i, e) { $(e).attr('tabindex', i) });
});
The reason I need this is I hide/show elements sometimes using .show
and .hide
and when that happens I need to reset tab order for the elements that appear/disappear.