Page 1 of 1

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

Posted: Wed Jan 11, 2012 11:43 pm
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?

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

Posted: Tue Jan 17, 2012 4:31 am
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

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

Posted: Tue Jan 17, 2012 7:55 pm
by Fike
Thanks a lot Steven!

Regards

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

Posted: Tue Jan 17, 2012 8:26 pm
by admin
No worries!