I want to set focus into my text area. Following is my code:
$this.textInput.val('').show().focus();
But it is not working. Actually when I press mouse button it appeared but when I mouseup it remove from text area. So after lot of searching I found setTimout method like :
$this.textInput.mouseover(function(){
setTimeout($this.focus(),0);
});
But still its not working in firefox. I have the latest 13.0 version but still it containing the problem but google chrome it is working properly. What's the problem with firefox is there any solution for it.
Thanks in advance.