<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Printing contents of a div using javascript</title>
	<atom:link href="http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/</link>
	<description>Write easy solutions, provide easy solutions</description>
	<lastBuildDate>Fri, 30 Dec 2011 15:39:09 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Shreeharsha</title>
		<link>http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/comment-page-1/#comment-42580</link>
		<dc:creator>Shreeharsha</dc:creator>
		<pubDate>Tue, 04 Oct 2011 07:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/#comment-42580</guid>
		<description>its working. Thanks Msdnexpert</description>
		<content:encoded><![CDATA[<p>its working. Thanks Msdnexpert</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: benks</title>
		<link>http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/comment-page-1/#comment-13890</link>
		<dc:creator>benks</dc:creator>
		<pubDate>Wed, 13 Apr 2011 09:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/#comment-13890</guid>
		<description>this one works.. thank you</description>
		<content:encoded><![CDATA[<p>this one works.. thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: me</title>
		<link>http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/comment-page-1/#comment-13217</link>
		<dc:creator>me</dc:creator>
		<pubDate>Wed, 06 Apr 2011 15:56:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/#comment-13217</guid>
		<description>thanks.
it work out for me.</description>
		<content:encoded><![CDATA[<p>thanks.<br />
it work out for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sangmesh Khandomalke</title>
		<link>http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/comment-page-1/#comment-5717</link>
		<dc:creator>Sangmesh Khandomalke</dc:creator>
		<pubDate>Fri, 01 Oct 2010 07:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/#comment-5717</guid>
		<description>Thanks for this wonderful solution</description>
		<content:encoded><![CDATA[<p>Thanks for this wonderful solution</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emmanuel</title>
		<link>http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/comment-page-1/#comment-5591</link>
		<dc:creator>Emmanuel</dc:creator>
		<pubDate>Thu, 23 Sep 2010 03:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/#comment-5591</guid>
		<description>to keep the css styles link your css file:
 &quot;&quot;

before close the header:

oDoc.write(â€œâ€);

Example:
oDoc.write(â€œtitleâ€);
oDoc.write(â€œâ€);
oDoc.write(â€œâ€);
oDoc.write(oContent + â€œâ€);</description>
		<content:encoded><![CDATA[<p>to keep the css styles link your css file:<br />
 &#8220;&#8221;</p>
<p>before close the header:</p>
<p>oDoc.write(â€œâ€);</p>
<p>Example:<br />
oDoc.write(â€œtitleâ€);<br />
oDoc.write(â€œâ€);<br />
oDoc.write(â€œâ€);<br />
oDoc.write(oContent + â€œâ€);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaganath</title>
		<link>http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/comment-page-1/#comment-4821</link>
		<dc:creator>Jaganath</dc:creator>
		<pubDate>Sat, 31 Jul 2010 10:37:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/#comment-4821</guid>
		<description>It Works Fine in My Website</description>
		<content:encoded><![CDATA[<p>It Works Fine in My Website</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sin</title>
		<link>http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/comment-page-1/#comment-4531</link>
		<dc:creator>sin</dc:creator>
		<pubDate>Wed, 07 Jul 2010 00:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/#comment-4531</guid>
		<description>try giving EnableEventValidation=&quot;false&quot; in page directive</description>
		<content:encoded><![CDATA[<p>try giving EnableEventValidation=&#8221;false&#8221; in page directive</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jet</title>
		<link>http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/comment-page-1/#comment-4524</link>
		<dc:creator>Jet</dc:creator>
		<pubDate>Tue, 06 Jul 2010 13:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/#comment-4524</guid>
		<description>Hello!
I&#039;d been trying to print the div content with no luck.
i can&#039;t even capture the innertext nor innerhtml with code (i&#039;m working with asp.net).
In fact what i want to print are the directions produced by google maps for a  given route.
The code kindly posted by msdnExpert breakes here:

WindowObject.document.writeln(DocumentContainer.innerHTML);
The Err Message is:
Microsoft JScript runtime error: Object required

For any help
Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Hello!<br />
I&#8217;d been trying to print the div content with no luck.<br />
i can&#8217;t even capture the innertext nor innerhtml with code (i&#8217;m working with asp.net).<br />
In fact what i want to print are the directions produced by google maps for a  given route.<br />
The code kindly posted by msdnExpert breakes here:</p>
<p>WindowObject.document.writeln(DocumentContainer.innerHTML);<br />
The Err Message is:<br />
Microsoft JScript runtime error: Object required</p>
<p>For any help<br />
Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jay Jay</title>
		<link>http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/comment-page-1/#comment-4102</link>
		<dc:creator>Jay Jay</dc:creator>
		<pubDate>Sun, 06 Jun 2010 07:03:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/#comment-4102</guid>
		<description>It doesn&#039;t work on me. huhuh =(</description>
		<content:encoded><![CDATA[<p>It doesn&#8217;t work on me. huhuh =(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aamir Shahzad</title>
		<link>http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/comment-page-1/#comment-3460</link>
		<dc:creator>Aamir Shahzad</dc:creator>
		<pubDate>Mon, 22 Mar 2010 06:41:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.isolutionteam.co.uk/printing-contents-of-a-div-using-javascript/#comment-3460</guid>
		<description>Assalam-u-Alaikum,

I find this very helpful,
thanks buddy
&lt;!â€“
function ClickHereToPrint(){
try{
var oIframe = document.getElementById(â€˜ifrmPrintâ€™);
var oContent = document.getElementById(â€˜divToPrintâ€™).innerHTML;
var oDoc = (oIframe.contentWindow &#124;&#124; oIframe.contentDocument);
if (oDoc.document) oDoc = oDoc.document;
oDoc.write(â€œtitleâ€);
oDoc.write(â€œâ€);
oDoc.write(oContent + â€œâ€);
oDoc.close();
}
catch(e){
self.print();
}
}
// â€“&gt;</description>
		<content:encoded><![CDATA[<p>Assalam-u-Alaikum,</p>
<p>I find this very helpful,<br />
thanks buddy<br />
&lt;!â€“<br />
function ClickHereToPrint(){<br />
try{<br />
var oIframe = document.getElementById(â€˜ifrmPrintâ€™);<br />
var oContent = document.getElementById(â€˜divToPrintâ€™).innerHTML;<br />
var oDoc = (oIframe.contentWindow || oIframe.contentDocument);<br />
if (oDoc.document) oDoc = oDoc.document;<br />
oDoc.write(â€œtitleâ€);<br />
oDoc.write(â€œâ€);<br />
oDoc.write(oContent + â€œâ€);<br />
oDoc.close();<br />
}<br />
catch(e){<br />
self.print();<br />
}<br />
}<br />
// â€“&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

