Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

PAGE = parent.frames[0] .document.forms[0] ?

Locked
Fike
Posts: 79
Joined: Thu Oct 20, 2011 9:13 pm

PAGE = parent.frames[0] .document.forms[0] ?

Unread post by Fike »

Hi,

I have just upgraded nuBuilder to the newest version (11.12.29) and it is great!

I have some javascripts that I created based on the tutorial videos, that have to be modified in order to run correctly with this new version. Specifically the line:

PAGE = parent.frames[0] .document.forms[0];

has to be changed, but I don't know how should I change it.

Could you help me on this?
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: PAGE = parent.frames[0] .document.forms[0] ?

Unread post by admin »

Fike,

Change PAGE = parent.frames[0] .document.forms[0];
to PAGE = parent.document.forms[0];

We have got rid of frames as it will be depreciated in HTML 5.

Cheers

Steven
Fike
Posts: 79
Joined: Thu Oct 20, 2011 9:13 pm

Re: PAGE = parent.frames[0] .document.forms[0] ?

Unread post by Fike »

Thanks a lot Steven!

Regards
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: PAGE = parent.frames[0] .document.forms[0] ?

Unread post by admin »

No worries!
Locked