Try Python update

Mike Meyer mwm at mired.org
Sun Jan 8 22:12:45 EST 2006


aleax at mail.comcast.net (Alex Martelli) writes:
> I'm finding it hard to arrange my own experiments with Safari (I'm using
> a loaner machine since my normal one[s] are all having problems and
> under repair) but I'm told the solution for cursor positioning is to set
> the caretPos attribute of the textarea, like for example at
> <http://www.codingforums.com/showthread.php?t=43245> ...

caretPos is apparently an MS extension; it's not supported by Safari
or the Gecko browsers.

setSelectionRange is the standards-compliant version. It's not
supported by Safari either :-(.

          Thanks,
          <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list