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,202
  • 1
  • 23
  • 30

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,907
  • 2
  • 18
  • 32