Here's the code:
$("#textyt:input").focus(function() {
$(this).animate({width:"545px"},500).css("color","#614A3E");
$(this).select();
$(this).mouseup(function(e){
e.preventDefault();
});
});
If I take away the animate effect, this focus event selects the text (as I'd like). With the animate effect, the text deselects when the animation is done in Firefox. This works fine in Safari as is. Is there any way to ensure the text is still selected when the animation finishes in FF? Thanks!