Posted 3 months ago. Visible to the public.

How to get the currently selected text in Javascript

Simple:

Copy
window.getSelection().toString();

Browser support: IE9+, Android 4.3+, Safari 5+

Does your version of Ruby on Rails still receive security updates?
Rails LTS provides security patches for old versions of Ruby on Rails (3.2 and 2.3).

Author of this card:

Avatar
Dominik Schöler
Last edit:
3 months ago
by Dominik Schöler
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Dominik Schöler to makandropedia