RESET IFRAMES

Hi,

Please, I have two little questions regarding iframes:

1. How I reset iframes in JS?
2. How many iframes it is possible to have a html application?

Thank you
josefkrzysztofAsked:
Who is Participating?
 
Michel PlungjanConnect With a Mentor IT ExpertCommented:
if you have opened another domain in the iframe (something browsers might stop) you will have a harder time clearing the iframe.
However it seems you are using HTA (html application) so you should be able to just do

window.iframeName.document.clear()
or
window.iframeName.location='about:blank'
or similar
0
 
Michel PlungjanIT ExpertCommented:
what do you mean by reset?
and I guess the limit is depending on visibility of the frames
0
 
josefkrzysztofAuthor Commented:
Hi, Mr. mplungian.

It is a pleasure reading you!

As well as we reset the form inputs and textarea, there is a way to reset iforms?

Regards

JKrzysztof
0
 
josefkrzysztofAuthor Commented:
Continue...

If it is impossible open a different domain from the domain of the, certainly if I RESET the iframe - clean out it - I will can open another domain?

JKrzysztof
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.