[Ironpython-users] get/set cursor position in HTML

Jimmy Schementi jschementi at gmail.com
Tue Jul 5 16:28:14 CEST 2011


The usual document and window variables are available in Python files which are executed via script tags; imported modules do not have those variables set. 

See http://www.ironpython.net/browser/docs.html#interacting-with-markup

FYI, document.selection is an IE-only feature. 


~Jimmy


On Jul 5, 2011, at 5:31 AM, "Wolfgang Schmoller" <w.schmoller at gmx.de> wrote:

> Hello,
> 
> is it possible to get/set the cursor position with python from an HTML-page like in Javascript with the selection-methods?
> 
> Best regards
> Wolfgang
> _______________________________________________
> Ironpython-users mailing list
> Ironpython-users at python.org
> http://mail.python.org/mailman/listinfo/ironpython-users



More information about the Ironpython-users mailing list