Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link
URL Rewriter Bot
URL Rewriter Bot

I found this questionthis question on Stack Overflow, and used the code given in the top answer.

It works marvelously otherwise, but there's a kink; on my page I have multiple textareas. In fact, the selector I used was just "textarea".

However, when 'tabbing' from one textarea to another (using the Tab key to jump to the next one), apparently the focus event doesn't fire, and the text doesn't get selected.

How do I modify that code to work both by click, and by Tab?

JSFiddle here; http://jsfiddle.net/qQDbZ/ I'm on Chrome, and while clicking on the textarea does select all, tabbing doesn't.

I found this question on Stack Overflow, and used the code given in the top answer.

It works marvelously otherwise, but there's a kink; on my page I have multiple textareas. In fact, the selector I used was just "textarea".

However, when 'tabbing' from one textarea to another (using the Tab key to jump to the next one), apparently the focus event doesn't fire, and the text doesn't get selected.

How do I modify that code to work both by click, and by Tab?

JSFiddle here; http://jsfiddle.net/qQDbZ/ I'm on Chrome, and while clicking on the textarea does select all, tabbing doesn't.

I found this question on Stack Overflow, and used the code given in the top answer.

It works marvelously otherwise, but there's a kink; on my page I have multiple textareas. In fact, the selector I used was just "textarea".

However, when 'tabbing' from one textarea to another (using the Tab key to jump to the next one), apparently the focus event doesn't fire, and the text doesn't get selected.

How do I modify that code to work both by click, and by Tab?

JSFiddle here; http://jsfiddle.net/qQDbZ/ I'm on Chrome, and while clicking on the textarea does select all, tabbing doesn't.

added 130 characters in body
Source Link
Emphram Stavanger
  • 4.2k
  • 9
  • 39
  • 67

I found this question on Stack Overflow, and used the code given in the top answer.

It works marvelously otherwise, but there's a kink; on my page I have multiple textareas. In fact, the selector I used was just "textarea".

However, when 'tabbing' from one textarea to another (using the Tab key to jump to the next one), apparently the focus event doesn't fire, and the text doesn't get selected.

How do I modify that code to work both by click, and by Tab?

JSFiddle here; http://jsfiddle.net/qQDbZ/ I'm on Chrome, and while clicking on the textarea does select all, tabbing doesn't.

I found this question on Stack Overflow, and used the code given in the top answer.

It works marvelously otherwise, but there's a kink; on my page I have multiple textareas. In fact, the selector I used was just "textarea".

However, when 'tabbing' from one textarea to another (using the Tab key to jump to the next one), apparently the focus event doesn't fire, and the text doesn't get selected.

How do I modify that code to work both by click, and by Tab?

I found this question on Stack Overflow, and used the code given in the top answer.

It works marvelously otherwise, but there's a kink; on my page I have multiple textareas. In fact, the selector I used was just "textarea".

However, when 'tabbing' from one textarea to another (using the Tab key to jump to the next one), apparently the focus event doesn't fire, and the text doesn't get selected.

How do I modify that code to work both by click, and by Tab?

JSFiddle here; http://jsfiddle.net/qQDbZ/ I'm on Chrome, and while clicking on the textarea does select all, tabbing doesn't.

I found this question on Stack Overflow, and used the code given in the top answer.

It works marvelously otherwise, but there's a kink; on my page I have multiple textareas. In fact, the selector I used was just "textarea".

However, when 'tabbing' from one textarea to another (using the Tab key to jump to the next one), apparently the focus event doesn't fire, and the text doesn't get selected.

How do I modify that code to work both by click, and by Tab?

Thank you warmly in advance!

I found this question on Stack Overflow, and used the code given in the top answer.

It works marvelously otherwise, but there's a kink; on my page I have multiple textareas. In fact, the selector I used was just "textarea".

However, when 'tabbing' from one textarea to another (using the Tab key to jump to the next one), apparently the focus event doesn't fire, and the text doesn't get selected.

How do I modify that code to work both by click, and by Tab?

Thank you warmly in advance!

I found this question on Stack Overflow, and used the code given in the top answer.

It works marvelously otherwise, but there's a kink; on my page I have multiple textareas. In fact, the selector I used was just "textarea".

However, when 'tabbing' from one textarea to another (using the Tab key to jump to the next one), apparently the focus event doesn't fire, and the text doesn't get selected.

How do I modify that code to work both by click, and by Tab?

Source Link
Emphram Stavanger
  • 4.2k
  • 9
  • 39
  • 67
Loading