sanjeev-rajput opened a new issue, #1260:
URL: https://github.com/apache/royale-asjs/issues/1260

   i am unable to use setSelectionRange(0,0) on a textarea component 
   tried on both jewel and spectrum 
   
   
   tried all these option
   input.text = ""; // Clear the box
   input.focus();// Set focus
   above two works fine
   
   1. input.element.setselectionRange(0, 0); //  -  NOT ACCEPTING
   2. document.getElementById("input").setSelectionRange(0, 0); // - NOT 
ACCEPTING
   3. var nativeInput:* = input.element as Object;
                       if (nativeInput && nativeInput.setSelectionRange != 
null) {
                           nativeInput.setSelectionRange(0, 0);
                       }
   
   tried all 3 options none works - plz suggest some 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@royale.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to