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

php - cannot display multiple markers in google maps v3 from traceroute result -

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

javascript - firefox memory leak -