Click here to Skip to main content
15,917,060 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
The code block is-
XML
document.getElementById('lmlNoteProxy').value = document.getElementById('<%=lmlNote.ClientID%>').value;
      document.getElementById('<%=lmlNote.ClientID%>').value = document.getElementById('<%=lmlNote.ClientID%>').value.replace(/&lt;/g, '<').replace(/&gt;/g, '>');
      //PLS-26668 start
                 var r = document.getElementById('<%=lmlNote.ClientID%>').createTextRange();
          r.collapse(true);
          r.select();

The r.select() is throwing error.

Its very urgent, can anyone help on this please?
Posted
Comments
CHill60 30-Mar-15 11:31am    
What is the error?

1 solution

We need more information, but I think createTextRange is only supported on IE, see here for more info.
Without more details, I cannot tell whether this answer is relevant.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900