[Javascript] Iframe's Real innerHTML
Shawn Milo
shawn.milo at gmail.com
Thu Feb 10 08:18:34 CST 2005
Sorry, no regex. :o( I'll try to throw one in to the list soon, in
response to a question that can be solved more simply some other way,
don't you worry. Regular expressions are fun. :o)
Shawn
On Thu, 10 Feb 2005 09:14:43 -0500, Roger Roelofs <rer at datacompusa.com> wrote:
> Flavio,
> On Feb 10, 2005, at 9:04 AM, Flavio Gomes wrote:
>
> > Hello everyone,
> >
> > I got myself on a kind of a little problem that I couldn't find a
> > solution yet.
> > In my program there's an iframe that does some calculations and thru
> > JavaScript I change it's (the iframe's) "src" attribute to recalculate
> > the value. But I couldn't find the way to bring it back to JavaScript.
> >
> > The better (and not working =] ) aproach I could do was:
> >
> > """""""""""""""""""""
> > <iframe id=myIFrame src="medoescalculations.html">This is not what
> > I want </iframe>
> > <script>
> > oFrame = document.getElementById(myIFrame);
> > alert(oFrame.innerHTML);
> > </script>
> > """""""""""""""""""""
>
> What about
> oFrame = document.getElementById(myIFrame).document;
>
> Roger
> -------------------------------------------------------
> Roger Roelofs web www.datacompusa.com
> Datacomp Appraisal Services web www.mhvillage.com
> 3215 Eaglecrest Drive, NE Email rer at datacompusa.com
> Grand Rapids, MI 49525-4593
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
More information about the Javascript
mailing list