Reply
Is there a way to load html content in an iframe?
Old 02-01-2007, 05:45 AM Is there a way to load html content in an iframe?
Average Talker

Posts: 19
Im using ASP.NET and trying to load some html in an IFrame. I've got a string containing html source and i want to pass it to the iframe. Does anyone know how to do that? I tried iframe.innerhtml to no avail.

Thanks.
__________________
httpforum administrator
http is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 02-05-2007, 01:44 AM Re: Is there a way to load html content in an iframe?
saadatshah's Avatar
Extreme Talker

Posts: 216
Name: Syed Saadat Ali
Location: Lahore, Pakistan
create a blank .html document. open it in iframe
e.g. <iframe src="empty.html">

now you can assign your string html source to the innerHTML property. Hope it will help
__________________
Traffic School - Driver Ed - Defensive Driving - Texas Defensive Driving - Online Traffic School - Defensive Driving Course
If you have knowledge, let others light their candles in it.
saadatshah is offline
Reply With Quote
View Public Profile Visit saadatshah's homepage!
 
Reply     « Reply to Is there a way to load html content in an iframe?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11249 seconds with 12 queries