Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

ASP.NET Forum


You are currently viewing our ASP.NET Forum as a guest. Please register to participate.
Login



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

Posts: 19
Trades: 0
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.
__________________

Please login or register to view this content. Registration is FREE
http is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-05-2007, 02:44 AM Re: Is there a way to load html content in an iframe?
saadatshah's Avatar
Extreme Talker

Posts: 215
Name: Syed Saadat Ali
Location: Lahore, Pakistan
Trades: 0
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
__________________
- -- --- ---- ----- ------ ------- ---------------
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 Search this Thread
Search this Thread:

Advanced Search

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

BB 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.56362 seconds with 12 queries