I want to submit part of a TextArea (User has entered Multiple Lines and selected one line either by Highlighting or by placing the cursor on the line). If user press the Submit Button then, I need to get the Line or word user has selected.
Just for my requirement Understanding See Below Example
Ex:- TOAD, SQL Server : where we can enter multiple Queries and When we press CTRL+Enter or F9 the selected Query only gets submitted to Database