[jawsscripts] Re: DOM Structure
- From: "don mauck" <don.mauck@xxxxxxxxxx>
- To: "jawsscripts@xxxxxxxxxxxxx" <jawsscripts@xxxxxxxxxxxxx>
- Date: Fri, 20 Jun 2008 13:48:03 -0600
I'm having the same results and I don't know why its not working. =
Oracle
Don Mauck | Accessibility Evangelist =
Cross Applications Unlimited
7700 Technology Way
Denver CO 80237
Phone (303) 334-4184
Email don.mauck@xxxxxxxxxx =
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx [mailto:jawsscripts-bounce@freelists=
.org] On Behalf Of Bryan Garaventa
Sent: Friday, June 20, 2008 1:41 PM
To: jawsscripts@xxxxxxxxxxxxx
Subject: [jawsscripts] Re: DOM Structure
Is the DOM that is returned different from a standard document object using=
this function? I'm not getting reliable results, for instance,
Script tmpScript ()
Say ("test", 0)
var object dom, string htmlString
; Works:
;let dom =3D IEGetCurrentDocument ()
; Does not work:
let dom =3D IEGetUnrestrictedWindow (IEGetCurrentDocument ())
; Save the entire contents of the DOM into a string.
let htmlString =3D dom.documentElement.outerHtml
CopyToClipboard (htmlString)
Say (htmlString, 0)
EndScript
----- Original Message -----
From: "Artur R=E4pp" <rtr@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Friday, June 20, 2008 8:21 AM
Subject: [jawsscripts] Re: DOM Structure
> Hi,
>
> Try something similar
>
> Script test3 ()
>
> var
>
> object allIE,
>
> object frame1
>
> let allIE =3D IEGetUnrestrictedWindow (IEGetCurrentDocument ())
>
> let frame1 =3D allIE.frames("index")
>
> ; get frame named index
>
> saystring (frame1.name) ; jaws says index
>
> EndScript
>
>
>
> hth
>
> Artur
>
> ----- Original Message -----
> From: "don mauck" <don.mauck@xxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Friday, June 20, 2008 4:25 PM
> Subject: [jawsscripts] Re: DOM Structure
>
>
> Yes, I would be very interested in seeing that, I tried =
> IEGetUnrestrictedWi=3D ndow but could not see a way to get the frame I =
> needed, it would sure be in=3D
> teresting to see if it could be done. These scripts I'm doing will be
> use=3D
> d by many people. =3D
>
>
>
>
> Oracle
> Don Mauck | Accessibility Evangelist =3D
>
> Cross Applications Unlimited
> 7700 Technology Way
> Denver CO 80237
> Phone (303) 334-4184
> Email don.mauck@xxxxxxxxxx =3D
>
>
> -----Original Message-----
> From: jawsscripts-bounce@xxxxxxxxxxxxx =
> [mailto:jawsscripts-bounce@freelists=3D
> .org] On Behalf Of Bryan Garaventa
> Sent: Friday, June 20, 2008 1:57 AM
> To: jawsscripts@xxxxxxxxxxxxx
> Subject: [jawsscripts] Re: DOM Structure
>
> I've never seen this work before. Can you show an example of the =
> correct sy=3D ntax to retrieve the document object for the second frame =
> in a parent Frame=3D Set document? For instance, if the content of the =
> second FrameSet document =3D currently has focus such as by tabbing or =
> reading within JAWS. That would h=3D elp a lot.
>
> Thanks,
>
> Bryan
>
> ----- Original Message -----
> From: "Artur R=3DE4pp" <rtr@xxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Thursday, June 19, 2008 10:30 PM
> Subject: [jawsscripts] Re: DOM Structure
>
>
>> Hi,
>>
>> You can use IEGetUnrestrictedWindow for frames instead of =3D
>
>> IEGetCurrentDocument.
>>
>> HTH
>> Artur
>> ----- Original Message -----
>> From: "don mauck" <don.mauck@xxxxxxxxxx>
>> To: <jawsscripts@xxxxxxxxxxxxx>
>> Sent: Thursday, June 19, 2008 7:27 PM
>> Subject: [jawsscripts] Re: DOM Structure
>>
>>
>> Hello again,
>> I've been looking at the HTML code this is brining in and I note that =
>> =3D
>
>> not a=3D3D ll the source code is here. That is when I do a views of =
>> the =3D
>
>> source I see =3D3D much more than I am seeing from the DOM. Is there a =
=
>> =3D
>
>> way to get all of the =3D3D source into the DOM? It appears that there =
=
>> is =3D
> =3D
>
>> more than on frame, would th=3D3D at make a difference, can I control =3D=
>
>> which frame I am pulling the DOM source=3D3D to of? Thanks again for =
>> all =3D
>
>> the great advice. =3D3D
>>
>>
>>
>>
>> Oracle
>> Don Mauck | Accessibility Evangelist =3D3D
>>
>> Cross Applications Unlimited
>> 7700 Technology Way
>> Denver CO 80237
>> Phone (303) 334-4184
>> Email don.mauck@xxxxxxxxxx =3D3D
>>
>>
>> -----Original Message-----
>> From: jawsscripts-bounce@xxxxxxxxxxxxx =
>> [mailto:jawsscripts-bounce@freelists=3D3D
>> .org] On Behalf Of Bryan Garaventa
>> Sent: Wednesday, June 18, 2008 10:54 AM
>> To: jawsscripts@xxxxxxxxxxxxx
>> Subject: [jawsscripts] Re: DOM Structure
>>
>> The best way is to save the DOM to a variable like so,
>>
>> var object dom, string htmlString
>>
>> let dom =3D3D3D IEGetCurrentDocument()
>>
>> ; Save the entire contents of the DOM into a string.
>>
>> let htmlString =3D3D3D dom.documentElement.outerHTML
>>
>> Say (htmlString, 0)
>>
>>
>> Just use standard JavaScript commands to access more specific =
>> elements with=3D3D in the DOM. Like...
>>
>> let NumberOfFrames =3D3D3D dom.frames.length
>>
>> And so on.
>>
>>
>> ----- Original Message -----
>> From: "don mauck" <don.mauck@xxxxxxxxxx>
>> To: <jawsscripts@xxxxxxxxxxxxx>
>> Sent: Wednesday, June 18, 2008 9:28 AM
>> Subject: [jawsscripts] DOM Structure
>>
>>
>>>I know this question might have been answered at some earlier time, =
>>>=3D3D
>>
>>>however, I admit I cannot find any of the responses. I need to =
>>>examine =3D3D=3D
>
>>
>>>the values in a DOM structure so I'm thinking tat I could load it =
>>>into =3D3D=3D
>
>>
>>>a string and then evaluate it from their. I just don't find anything =
>>>=3D3D=3D
>
>>
>>>in the "Default.JSS" or anywhere else that strings information =
>>>directly =3D3D=3D
>
>>
>>>from the DOM. Can anyone on this list refresh my memory or give me =
>>>=3D3D
>>
>>>some pointer/ideas? I promise I won't delete or otherwise lose the =
>>>=3D3D
>>
>>>responses so as not to bother the list again with this question. =
>>>Thanks i=3D3D
>> n advance.
>>>
>>> Oracle <http://www.oracle.com/>
>>> Don Mauck | Accessibility Evangelist Cross Applications Unlimited =
>>> 7700 Technology Way Denver CO 80237 Phone (303) 334-4184 Email =
>>> don.mauck@xxxxxxxxxx
>>>
>>>
>>> __________
>>> View the list's information and change your settings at =3D3D
>>
>>> http://www.freelists.org/list/jawsscripts
>>>
>>
>> __________
>> View the list's information and change your settings at =
>> http://www.freelist=3D3D s.org/list/jawsscripts
>>
>>
>> __________
>> 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
>>
>
> __________=3DA0
> 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
>
>
>
> __________
> 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.freelist=
s.org/list/jawsscripts
__________
View the list's information and change your settings at
http://www.freelists.org/list/jawsscripts
- References:
- [jawsscripts] DOM Structure
- From: don mauck
- [jawsscripts] Re: DOM Structure
- From: Bryan Garaventa
- [jawsscripts] Re: DOM Structure
- From: don mauck
- [jawsscripts] Re: DOM Structure
- From: Artur Räpp
- [jawsscripts] Re: DOM Structure
- From: Bryan Garaventa
- [jawsscripts] Re: DOM Structure
- From: don mauck
- [jawsscripts] Re: DOM Structure
- From: Artur Räpp
- [jawsscripts] Re: DOM Structure
- From: Bryan Garaventa
Other related posts:
- » [jawsscripts] DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- » [jawsscripts] Re: DOM Structure
- [jawsscripts] DOM Structure
- From: don mauck
- [jawsscripts] Re: DOM Structure
- From: Bryan Garaventa
- [jawsscripts] Re: DOM Structure
- From: don mauck
- [jawsscripts] Re: DOM Structure
- From: Artur Räpp
- [jawsscripts] Re: DOM Structure
- From: Bryan Garaventa
- [jawsscripts] Re: DOM Structure
- From: don mauck
- [jawsscripts] Re: DOM Structure
- From: Artur Räpp
- [jawsscripts] Re: DOM Structure
- From: Bryan Garaventa