Report question

Question: javascript to get paragraph of selected text in web page