0

I have an application where I use jqGrid to display some data. When I press tab key in order to jump from a input field to a textarea field, the text that is prefilled in the textarea is highlighted. How can I get rid of the highlight.

Stefan Ciprian Hotoleanu
  • 2,042
  • 1
  • 22
  • 29

1 Answers1

0

something like this?

$('textarea').on('focus', function(){
    var content = $(this).val();
    alert(content);
});

try this demo tabbing from input to textarea

pumpkinzzz
  • 2,727
  • 2
  • 13
  • 31