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.schmol...@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@python.org > http://mail.python.org/mailman/listinfo/ironpython-users _______________________________________________ Ironpython-users mailing list Ironpython-users@python.org http://mail.python.org/mailman/listinfo/ironpython-users