• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 499
  • Last Modified:

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
0
josefkrzysztof
Asked:
josefkrzysztof
  • 2
  • 2
1 Solution
 
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
 
Michel PlungjanIT 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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now