[jawsscripts] Re: Retrieving text from within a div

  • From: Artur Räpp <rtr@xxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 5 Feb 2018 21:50:18 +0200

Hi,

If you are using Internet Explorer then you can try with DOM functions like 
innerHTML () or text()

With best wishes
Artur
rtr@xxxxxxxxx

-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Kelly Wills
Sent: Wednesday, January 31, 2018 6:02 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Retrieving text from within a div

Hi List,
I am attempting to retrieve some text that is contained in a div tag on a web 
page. I am able to successfully locate the div I need by using 
XMLDomDoc.selectNodes("//Div[@id='someID']") but I am not sure how to actually 
get at the text contained with the div tag. An example of the div is below.
<div id="someID">Some text</div>

I would like to get at the text that says "Some text"
I have tried several things, but must not be doing it right. Any guidance would 
be greatly appreciated. I am using JAWS 2018.

Thanks,
Kelly

__________ļæ½

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

__________�

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

Other related posts: