coolispaul
asked on
Jquery onkeypress bug
Hi,
i have created a function that is triggered by a keypress. It seems to work fine with every key other than tab! any idea why?
My function is attached
Thanks
i have created a function that is triggered by a keypress. It seems to work fine with every key other than tab! any idea why?
My function is attached
Thanks
$("#CustomFields_1_1").live('keyup', function (e)
{
$("#newscompany").css('display','none');
$("#CustomFields_2_1").css('display','block');
$("#CustomFields_2_1").focus();
event.preventDefault();
});
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
http://jsbin.com/amoci
cheers