[jawsscripts] Re: Finding DOM element at the virtual cursor

  • From: Chad Foster <chad.foster@xxxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Tue, 10 Aug 2010 21:53:34 -0400

Check out the GetTag functions. They can help you locate tags and
corresponding indices.

On 8/10/10, Travis Roth <travis@xxxxxxxxxxxxxx> wrote:
> I've not tried it, but I'd suggest looking at the GetElementDescription()
> function and seeing if you can parse out the ID or name attribute.
> If an element doesn't have either of those its going to be difficult to find
> in the DOM with JavaScript...
>
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx
> [mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of jaws tech
> Sent: Tuesday, August 10, 2010 5:45 PM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Finding DOM element at the virtual cursor
>
> Hi All.
> I would like to find a reliable way to find the DOM element corresponding to
> the current virtual cursor position.  I like to jump into the DOM when doing
> IE scripting instead of the JAWS functions and I need a way to grab the
> current element.  As most of you already know the GetFocusedElement()
> functions just grab wherever the PC cursor is and have nothing to do with
> JAWS'
> virtual buffer.  Also, can someone explain the significance of the row and
> column output of the Virtual cursor's position.  The column position seems
> to correspond to the source index but I'm not sure what the row might
> represent??  Understanding this might shed some light on getting into the
> DOM.
>
> Thanks
>
>
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>
> __________�
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>
>


-- 
Chad Foster
Access Technology Solutions
Leveling The Playing Field Through Technology
http://www.GO-ATS.net
__________�

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: