/ Forside / Teknologi / Udvikling / ASP / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
ASP
#NavnPoint
smorch 9259
Harlekin 1866
molokyle 1040
Steffanst.. 758
gandalf 657
smilly 564
gibson 560
cumano 530
MouseKeep.. 480
10  Random 410
webcontrol and iframe usage
Fra : Peter Marino


Dato : 24-05-02 19:25

I'm trying to create a simple webcontrol, where I render the following:

output.write( "<iframe id='idContent' width='200px'
height='200px'></iframe>");

ok,.. I can see it and use it,... but how do I read the contents of iframe?!
if a user
copy pastes some webstuff into it I would like to be able to read the
contents?... how?

Peter Marino
__________________________________________________________________ Peter
Marino ICQ#: 114489848 Current ICQ status: + More ways to contact me
__________________________________________________________________



 
 
Han (06-06-2002)
Kommentar
Fra : Han


Dato : 06-06-02 07:55

iFrame is like frame except that the first is the child of a document. ie,

x=document.frames("fname").document.body.innerHtml

One reason you get the reply so late may be that you did multiposting.

--
Han Pohwan
Seoul, Korea, MS Asia MVP
"Peter Marino" <peter@SPAMFREEmarino.dk> wrote in message
news:3cee84a9$0$97284$edfadb0f@dspool01.news.tele.dk...
> I'm trying to create a simple webcontrol, where I render the following:
>
> output.write( "<iframe id='idContent' width='200px'
> height='200px'></iframe>");
>
> ok,.. I can see it and use it,... but how do I read the contents of
iframe?!
> if a user
> copy pastes some webstuff into it I would like to be able to read the
> contents?... how?
>
> Peter Marino
> __________________________________________________________________ Peter
> Marino ICQ#: 114489848 Current ICQ status: + More ways to contact me
> __________________________________________________________________
>
>



Søg
Reklame
Statistik
Spørgsmål : 177554
Tips : 31968
Nyheder : 719565
Indlæg : 6408852
Brugere : 218888

Månedens bedste
Årets bedste
Sidste års bedste