javascript - window.getSelection() not working in ios6 device? -


in application used java script selected text.this work in simulator ios6 device return null string.

var select = window.getselection(); var selobj = select.tostring() 

look @ how captured selected text range in ios after text selection expansion. it's thorough , answer has working jsfiddle (which should able answer question).

this answer seems answer , go beyond question (as address possible issue might find).


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -