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

css - Text drops down with smaller window -

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

ruby on rails - Authlogic - how to make a registration and don't log in the new account? -