<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Parthu&#039;s Blog</title>
	<atom:link href="http://parthuat.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://parthuat.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 31 Dec 2009 11:34:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='parthuat.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Parthu&#039;s Blog</title>
		<link>http://parthuat.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://parthuat.wordpress.com/osd.xml" title="Parthu&#039;s Blog" />
	<atom:link rel='hub' href='http://parthuat.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Dhoni says India likely to retain No. 1 rank next year</title>
		<link>http://parthuat.wordpress.com/2009/12/31/dhoni-says-india-likely-to-retain-no-1-rank-next-year/</link>
		<comments>http://parthuat.wordpress.com/2009/12/31/dhoni-says-india-likely-to-retain-no-1-rank-next-year/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 11:34:54 +0000</pubDate>
		<dc:creator>parthuat</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://parthuat.wordpress.com/?p=22</guid>
		<description><![CDATA[Captain Mahendra Singh Dhoni said India will play more than four Tests next year and his side would be able to remain world No. 1 in the longest format of cricket for a longer time. India are scheduled to play only two Tests &#8212; against Bangladesh in January &#8212; in the next 11 months and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=22&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Captain Mahendra Singh Dhoni said India will play more than four Tests next year and his side would be able to remain world No. 1 in the longest format of cricket for a longer time.</p>
<p>India are scheduled to play only two Tests &#8212; against Bangladesh in January &#8212; in the next 11 months and a proposal to include two Tests in South Africa&#8217;s tour to the country in February is being considered by the two boards.</p>
<p>Dhoni though said his side will play more than four Test matches next year.</p>
<p>&#8220;Quite a few Test matches are being proposed and I don&#8217;t think that we will play only four Tests next year. We will play more than that,&#8221; he said after receiving the ICC Test Championships mace from chief executive Haroon Lorgat here.</p>
<p>&#8220;It is a spacial feeling to receive this mace. I am taking this on behalf of the team and BCCI. Being an Indian it is a proud moment. We have really worked hard as a team in the last 14 months to get to this position. We want to remain here longer and everything depends on our performance,&#8221; he added.</p>
<p>Lorgat, on his part, said he would be happy if the South African and Indian Cricket Boards can work out on having the two Tests in February.</p>
<p>&#8220;Under FTP two countries will have to work out their bilateral series in four or six years time. It is upto them when to visit each other considering their interest. I would be happy if the proposal for inclusion of the two Tests in February is through. India deserved to be a Test number one side,&#8221; he said.</p>
<p>The ICC Chief Executive said India had dominated world cricket in the past 14 months Tests as well as one-dayers.</p>
<p>&#8220;In the last 14 months India has been dominating the world. In October 2008 India was ranked third in ICC Test Championships and in the last 14 months has risen to number one. It would be fantastic if South Africa and India world&#8217;s two top teams play each other in February,&#8221; he said.</p>
<p>&#8220;In the ODI also, India is now ranked number two. Then you have Gautam Gambhir at the top of ICC Test batsmen ranking while Dhoni is on top in ODI chart. Dhoni is the ICC ODI player of the year for two consecutive years and chosen captain of both the ICC Test and ODI teams of the year.</p>
<p>&#8220;Then you have Sachin Tendulkar and Rahul Dravid who have immensely contributed to this transition. It reflects on the talent you can boast of. India has players who after a few years will be considered as legends of the game,&#8221; Lorgat said.</p>
<p>India is the third team after Australia and South Africa to have become the number Test side after their 2-0 series victory over Sri Lanka early this month.</p>
<p>Dhoni refused to compare India&#8217;s numero uno status in Test with their inaugural Twenty20 World Cup triumph.</p>
<p>&#8220;I don&#8217;t believe in comparisons. But T20 triumph was about a tournament. If players are in form in a tournament you can win it. But in Test Championships you play consistently well for a period of time in a tough competition and you reach the top. It is special as we reached the top from a lower position. Our priority now in the coming months is to prove we are capable of staying on top as we are at reaching it,&#8221; he said.</p>
<p>Asked if fast bowling is an area of concern considering Zaheer Khan seemed to be not getting enough support from the other end, Dhoni said he was not losing sleep much on that aspect.</p>
<p>&#8220;It is a bit of concern but it is manageable. Ishant Sharma has dropped a bit in form but his talent cannot be questioned. He has taken lots of wickets at a young age. The sub-continental wickets do not help fast bowlers. But when Ishant was not there S Sreesanth came in well and so it is not much of an issue in fast bowling department,&#8221; said Dhoni.</p>
<p>The Indian captain also felt that fielding not much of a concern as far as Test cricket is concerned.</p>
<p>&#8220;We have some safe hands and some sloppy fielders in the team. But we have not done badly in fielding in Test cricket.</p>
<p>It is not a big area of concern,&#8221; he said.</p>
<p>Praising Virender Sehwag for his role in India&#8217;s rise in the top spot, Dhoni said the Delhi dashers performance many a times rubbed on other players.</p>
<p>&#8220;I don&#8217;t want any comparison between him and Vivian Richards. But Viru is a special talent. His confidence level and positive approach is different from other players. His performance rub on other players. For example, Gautam Gambhir or a Virat Kohli play really well when batted with Sehwag.</p>
<p>When I scored my first hundred he was at the other end,&#8221; said Dhoni.</p>
<p>Sehwag, who was also present on the occasion, praised Dhoni and coach Gary Kirsten for the confidence they had given to him to play his natural game.</p>
<p>&#8220;When I returned to the team after being dropped in 2007 coach Gary (Kirsten) told me that I will not be dropped if I score three zeroes and encouraged me to play my natural game.</p>
<p>&#8220;That boosted my confidence. I played well in Australia scoring a hundred there. Then when Australia came here Dhoni said we should dominate them at home. I and Gambhir made good starts against Australia, England and Sri Lanka. If we get a good start with the kind of middle order batting we have we can score 400-500. So full credit to Dhoni and Gary for our achievements.</p>
<p>&#8220;When Gary joined us two years back he said our aim was to reach the top of Test rankings and here we are. I am really proud to be part of a great team. I can say that we will work harder under Dhoni and Gary to remain on top as long as possible,&#8221; Sehwag said.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parthuat.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parthuat.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parthuat.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parthuat.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/parthuat.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/parthuat.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/parthuat.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/parthuat.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parthuat.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parthuat.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parthuat.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parthuat.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parthuat.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parthuat.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=22&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://parthuat.wordpress.com/2009/12/31/dhoni-says-india-likely-to-retain-no-1-rank-next-year/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/53e2906f78f61a895e99f94bd7ccb346?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parthuat</media:title>
		</media:content>
	</item>
		<item>
		<title>No Nano price hike: Tata Motors</title>
		<link>http://parthuat.wordpress.com/2009/12/31/no-nano-price-hike-tata-motors/</link>
		<comments>http://parthuat.wordpress.com/2009/12/31/no-nano-price-hike-tata-motors/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 11:33:55 +0000</pubDate>
		<dc:creator>parthuat</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://parthuat.wordpress.com/?p=20</guid>
		<description><![CDATA[Tata Motors has said all the existing bookings of the Nano will be delivered at the current prices, notwithstanding the rising input prices. &#8220;The current bookings will be executed at the price already committed and we have a long way to finish the current bookings. So, it is too early to talk about raising the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=20&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tata Motors has said all the existing bookings of the Nano will be delivered at the current prices, notwithstanding the rising input prices.</p>
<p>&#8220;The current bookings will be executed at the price already committed and we have a long way to finish the current bookings. So, it is too early to talk about raising the prices of the Nano,&#8221; Tata Motors managing director Prakash M Telang said.</p>
<p>However, when asked if the company could consider increasing the prices of its other models, Telang remained non-committal, he said: &#8220;steel and tyre prices are increasing and all manufacturers have to think about it. We are watching the situation very closely. It is difficult to comment it right now.&#8221;</p>
<p>In June, the company had selected over 1.55 lakh buyers for its small car wonder Nano, touted as the world&#8217;s cheapest car, from a total of 2.06 lakh final applicants. It would deliver the first one lakh cars by March 2010, while the remaining bookings of 55,021 will be delivered in the next phase.</p>
<p>The country&#8217;s largest auto company has delivered 13,924 Nanos till November.</p>
<p>Tata Motors had announced that the first one lakh Nano owners would be price-protected at the ex-showroom prices. The Nano is available between Rs 1.23 lakh and Rs 1.72 lakh (ex-showroom, Delhi) for the three different variants.</p>
<p>&#8220;When it will come to the next stage of delivery only we will talk about it (price hike). At the moment our focus is to ramp up production,&#8221; Telang said.</p>
<p>The company is currently rolling out the Nanos from its Pantnagar plant in Uttaranchal, which has an annual capacity of 50,000 units. The car would also be rolled out from the company&#8217;s upcoming Sanand facility in Gujarat once its goes on stream next year.</p>
<p>The Sanand plant will have an initial capacity of 3.5 lakh units a year.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parthuat.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parthuat.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parthuat.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parthuat.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/parthuat.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/parthuat.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/parthuat.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/parthuat.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parthuat.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parthuat.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parthuat.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parthuat.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parthuat.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parthuat.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=20&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://parthuat.wordpress.com/2009/12/31/no-nano-price-hike-tata-motors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/53e2906f78f61a895e99f94bd7ccb346?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parthuat</media:title>
		</media:content>
	</item>
		<item>
		<title>A real-world test of Google Goggles visual search (photos)</title>
		<link>http://parthuat.wordpress.com/2009/12/31/a-real-world-test-of-google-goggles-visual-search-photos/</link>
		<comments>http://parthuat.wordpress.com/2009/12/31/a-real-world-test-of-google-goggles-visual-search-photos/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 11:33:04 +0000</pubDate>
		<dc:creator>parthuat</dc:creator>
				<category><![CDATA[TechinicalNews]]></category>

		<guid isPermaLink="false">http://parthuat.wordpress.com/?p=18</guid>
		<description><![CDATA[As Google continues to build out its search technology, the company has gradually expanded beyond browser-based text search to include voice and image searches. The experimental Google Goggles is one such project: an image-based search service that allows people to submit an image and get Web-based search results pulled from Google&#8217;s massive archive of indexed [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=18&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:left;">As Google continues to build out its search technology, the company has gradually expanded beyond browser-based text search to include voice and image searches.</p>
<p>The experimental Google Goggles is one such project: an image-based search service that allows people to submit an image and get Web-based search results pulled from Google&#8217;s massive archive of indexed photos and images. It&#8217;s currently available only on Android-powered smartphones, but a Google developer is working on a side project to incorporate the same functionality into future versions of the company&#8217;s Chrome Web browser.</p>
<p>The concept is simple enough: snap an image with your phone, and let Google Goggles search the Web for results based on the image you&#8217;ve submitted. But it&#8217;s not always easy to execute.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parthuat.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parthuat.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parthuat.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parthuat.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/parthuat.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/parthuat.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/parthuat.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/parthuat.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parthuat.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parthuat.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parthuat.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parthuat.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parthuat.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parthuat.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=18&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://parthuat.wordpress.com/2009/12/31/a-real-world-test-of-google-goggles-visual-search-photos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/53e2906f78f61a895e99f94bd7ccb346?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parthuat</media:title>
		</media:content>
	</item>
		<item>
		<title>Visual Studio launch delayed by &#8216;a few weeks&#8217;</title>
		<link>http://parthuat.wordpress.com/2009/12/31/visual-studio-launch-delayed-by-a-few-weeks/</link>
		<comments>http://parthuat.wordpress.com/2009/12/31/visual-studio-launch-delayed-by-a-few-weeks/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 11:30:28 +0000</pubDate>
		<dc:creator>parthuat</dc:creator>
				<category><![CDATA[TechinicalNews]]></category>

		<guid isPermaLink="false">http://parthuat.wordpress.com/?p=16</guid>
		<description><![CDATA[Microsoft said on Thursday that it would delay by &#8220;a few weeks&#8221; the launch of its Visual Studio 2010 developer tool suite and version 4.0 of the .Net Framework.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=16&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Microsoft said on Thursday that it would delay by &#8220;a few weeks&#8221; the launch of its Visual Studio 2010 developer tool suite and version 4.0 of the .Net Framework.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parthuat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parthuat.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parthuat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parthuat.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/parthuat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/parthuat.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/parthuat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/parthuat.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parthuat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parthuat.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parthuat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parthuat.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parthuat.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parthuat.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=16&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://parthuat.wordpress.com/2009/12/31/visual-studio-launch-delayed-by-a-few-weeks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/53e2906f78f61a895e99f94bd7ccb346?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parthuat</media:title>
		</media:content>
	</item>
		<item>
		<title>Change the TextBox to Text on fly</title>
		<link>http://parthuat.wordpress.com/2009/12/31/change-the-textbox-to-text-on-fly/</link>
		<comments>http://parthuat.wordpress.com/2009/12/31/change-the-textbox-to-text-on-fly/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 11:24:12 +0000</pubDate>
		<dc:creator>parthuat</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://parthuat.wordpress.com/?p=12</guid>
		<description><![CDATA[&#60;form onsubmit="return false;"&#62; &#60;p id="text"&#62;Hello, world. Click me please.&#60;/p&#62; &#60;input type="hidden" id="textbox" /&#62; &#60;input type="button" id="done" onclick="changeBack();" value="Done"/&#62; &#60;input type="button" value="Edit" onclick="change();"&#62; &#60;/form&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; var textNode = document.getElementById(&#8216;text&#8217;); var textValue = textNode.firstChild.nodeValue; var textboxNode = document.getElementById(&#8216;textbox&#8217;); //var doneButton = document.getElementById(&#8216;done&#8217;); function change() { textboxNode.setAttribute(&#8216;value&#8217;, textValue); textNode.style.display = &#8216;none&#8217;; textboxNode.setAttribute(&#8216;type&#8217;,'text&#8217;); //doneButton.setAttribute(&#8216;type&#8217;,'button&#8217;); } function changeBack() { [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=12&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code>&lt;form onsubmit="return false;"&gt;<br />
&lt;p id="text"&gt;Hello, world. Click me please.&lt;/p&gt;<br />
&lt;input type="hidden" id="textbox" /&gt;<br />
&lt;input type="button" id="done" onclick="changeBack();" value="Done"/&gt;<br />
&lt;input type="button" value="Edit" onclick="change();"&gt;<br />
&lt;/form&gt;</code></p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
var textNode = document.getElementById(&#8216;text&#8217;);<br />
var textValue = textNode.firstChild.nodeValue;<br />
var textboxNode = document.getElementById(&#8216;textbox&#8217;);<br />
//var doneButton = document.getElementById(&#8216;done&#8217;);<br />
function change() {<br />
textboxNode.setAttribute(&#8216;value&#8217;, textValue);<br />
textNode.style.display = &#8216;none&#8217;;<br />
textboxNode.setAttribute(&#8216;type&#8217;,'text&#8217;);<br />
//doneButton.setAttribute(&#8216;type&#8217;,'button&#8217;);<br />
}<br />
function changeBack() {<br />
textNode.firstChild.nodeValue = textboxNode.value;<br />
textNode.style.display = &#8216;block&#8217;;<br />
textboxNode.setAttribute(&#8216;type&#8217;, &#8216;hidden&#8217;);<br />
//doneButton.setAttribute(&#8216;type&#8217;,'hidden&#8217;);<br />
}<br />
&lt;/script&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parthuat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parthuat.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parthuat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parthuat.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/parthuat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/parthuat.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/parthuat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/parthuat.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parthuat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parthuat.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parthuat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parthuat.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parthuat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parthuat.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=12&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://parthuat.wordpress.com/2009/12/31/change-the-textbox-to-text-on-fly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/53e2906f78f61a895e99f94bd7ccb346?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parthuat</media:title>
		</media:content>
	</item>
		<item>
		<title>simple javascript Calendar</title>
		<link>http://parthuat.wordpress.com/2009/12/31/simple-javascript-calendar/</link>
		<comments>http://parthuat.wordpress.com/2009/12/31/simple-javascript-calendar/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 11:09:36 +0000</pubDate>
		<dc:creator>parthuat</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://parthuat.wordpress.com/?p=6</guid>
		<description><![CDATA[&#60;!doctype html public &#8220;-//w3c//dtd html 4.0 transitional//en&#8221;&#62; &#60;html&#62; &#60;head&#62; &#60;title&#62;Date Picker&#60;/title&#62; &#60;style type=&#8221;text/css&#8221;&#62; body{margin:0px;padding:0px;} #wdg97{text-decoration:none;} .CalendarRed{width:20%;height:40%;} .CalendarRed td{border:1px #F3F3F3 solid;text-align:center;} .CalendarRed td.SelectedDay{background:#E5E5E5;color:red;} .CalendarRed tr.TitleBar td{font-weight:bold;background:#ED0000;color:#FFF;} .CalendarRed tr.TitleBar td a{color:#FFFFFF;} .CalendarRed tr.Days td{} .CalendarRed tr.Days td a{color:#000000;} .CalendarRed tr.Days td a:hover{background:#FFCCCC;} .CalendarRed .WeekName td{font-weight:bold;} .CalendarRed{border-collapse:collapse;font:normal 11px Verdana, Arial, sans-serif;background:#FFFFFF;border:1px red solid;} &#60;/style&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; &#60;!&#8211; ReturnFunc [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=6&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;!doctype html public &#8220;-//w3c//dtd html 4.0 transitional//en&#8221;&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;Date Picker&lt;/title&gt;<br />
&lt;style type=&#8221;text/css&#8221;&gt;<br />
body{margin:0px;padding:0px;}<br />
#wdg97{text-decoration:none;}<br />
.CalendarRed{width:20%;height:40%;}<br />
.CalendarRed td{border:1px #F3F3F3 solid;text-align:center;}<br />
.CalendarRed td.SelectedDay{background:#E5E5E5;color:red;}<br />
.CalendarRed tr.TitleBar td{font-weight:bold;background:#ED0000;color:#FFF;}<br />
.CalendarRed tr.TitleBar td a{color:#FFFFFF;}<br />
.CalendarRed tr.Days td{}<br />
.CalendarRed tr.Days td a{color:#000000;}<br />
.CalendarRed tr.Days td a:hover{background:#FFCCCC;}<br />
.CalendarRed .WeekName td{font-weight:bold;}<br />
.CalendarRed{border-collapse:collapse;font:normal 11px Verdana, Arial, sans-serif;background:#FFFFFF;border:1px red solid;}<br />
&lt;/style&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
&lt;!&#8211;<br />
ReturnFunc = &#8221;;<br />
function Calendar(iYear, iMonth, iDay, ContainerId, ClassName)<br />
{<br />
MonthNames = new Array(&#8216;Jan&#8217;, &#8216;Feb&#8217;, &#8216;Mar&#8217;, &#8216;Apr&#8217;, &#8216;May&#8217;, &#8216;Jun&#8217;, &#8216;Jul&#8217;, &#8216;Aug&#8217;, &#8216;Sep&#8217;, &#8216;Oct&#8217;, &#8216;Nov&#8217;, &#8216;Dec&#8217;);<br />
//If no parameter is passed use the current date.<br />
oDate = new Date();<br />
Year = (iYear == null) ? oDate.getFullYear() : iYear;<br />
Month = (iMonth == null) ? oDate.getMonth() : iMonth &#8211; 1;<br />
while(Month &lt; 0){Month += 12;Year&#8211;}<br />
while(Month &gt;= 12){Month -= 12;Year++}<br />
Day = (iDay == null) ? 0 : iDay;<br />
oDate = new Date(Year, Month, 1);<br />
NextMonth = new Date(Year, Month + 1, 1);<br />
WeekStart = oDate.getDay();<br />
// Get the number of months in current month<br />
MonthDays = Math.round((NextMonth.getTime() &#8211; oDate.getTime()) / 86400000) + 1;<br />
// Check whether the Container Id is null<br />
if(ContainerId != null)<br />
{<br />
ContainerId = ContainerId;<br />
Container = document.getElementById(ContainerId);<br />
// If an element doesnot exists with the given ContainerId then create it<br />
if(!Container)<br />
document.write(&#8216;&lt;div id=&#8221;&#8216; + ContainerId + &#8216;&#8221;&gt;&amp;nbsp;&lt;/div&gt;&#8217;);<br />
}<br />
else<br />
{<br />
// Loop until a unique id is obtained for the container<br />
do<br />
{<br />
ContainerId = &#8216;tblCalendar&#8217; + Math.round(Math.random() * 1000);<br />
}<br />
while(document.getElementById(ContainerId));<br />
// create an element with the new id<br />
document.write(&#8216;&lt;div id=&#8221;&#8216; + ContainerId + &#8216;&#8221;&gt;&amp;nbsp;&lt;/div&gt;&#8217;);<br />
}<br />
Container = document.getElementById(ContainerId);<br />
ClassName = (ClassName == null) ? &#8216;tblCalendar&#8217; : ClassName;<br />
HTML = &#8216;&lt;table cellspacing=&#8221;0&#8243;&gt;&#8217;;<br />
// Title bar</p>
<p>HTML += &#8216;&lt;tr&gt;&lt;td colspan=&#8221;7&#8243;&gt;&lt;table style=&#8221;width:100%;height:100%;&#8221; cellspacing=&#8221;0&#8243;&gt;&lt;tr&gt;&lt;td&gt;&lt;a ID=wdg97 href=&#8221;javascript:void(0)&#8221;onMouseDown=&#8221;Calendar(&#8216; + (eval(Year)-1) + &#8216;, &#8216; + (Month+1) + &#8216;, &#8216;+ Day+&#8217;,\&#8221;+ContainerId+&#8217;\', \&#8221;+ClassName+&#8217;\');&#8221;&gt;&#8217;+ (eval(Year)-1) +&#8217;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a ID=wdg97 href=&#8221;javascript:void(0)&#8221; onMouseDown=&#8221;Calendar(&#8216; + Year + &#8216;, &#8216; + Month + &#8216;, &#8216; + Day+&#8217;, \&#8221;+ContainerId+&#8217;\', \&#8221;+ClassName+&#8217;\');&#8221;&gt;&amp;laquo;&lt;/a&gt;&lt;/td&gt; &lt;td&gt;&#8217; + MonthNames[Month] + &#8216; &#8216; + Year + &#8216;&lt;/td&gt;&lt;td&gt;&lt;a ID=wdg97 href=&#8221;javascript:void(0)&#8221; onMouseDown=&#8221;Calendar(&#8216; + Year + &#8216;, &#8216; + (Month + 2) + &#8216;, &#8216; + Day+&#8217;, \&#8221;+ContainerId+&#8217;\', \&#8221;+ClassName+&#8217;\');&#8221;&gt;&amp;raquo;&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a ID=wdg97 href=&#8221;javascript:void(0)&#8221;onMouseDown=&#8221;Calendar(&#8216; + (eval(Year)+1) + &#8216;, &#8216; + (Month+1) + &#8216;, &#8216;+ Day+&#8217;,\&#8221;+ContainerId+&#8217;\', \&#8221;+ClassName+&#8217;\');&#8221;&gt;&#8217;+ (eval(Year)+1) +&#8217;&lt;/a&gt; &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&#8217;;<br />
// Week Names<br />
HTML += &#8216;&lt;tr&gt;&lt;td&gt;S&lt;/td&gt;&lt;td&gt;M&lt;/td&gt;&lt;td&gt;T&lt;/td&gt;&lt;td&gt;W&lt;/td&gt;&lt;td&gt;T&lt;/td&gt;&lt;td&gt;F&lt;/td&gt;&lt;td&gt;S&lt;/td&gt;&lt;/tr&gt;&#8217;;<br />
HTML += &#8216;&lt;tr&gt;&#8217;;<br />
// Fill the previous month days with space<br />
for(DayCounter = 0; DayCounter &lt; WeekStart; DayCounter++)<br />
{<br />
HTML += &#8216;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#8217;;<br />
}<br />
// Populate current month<br />
for(DayCounter = 1; DayCounter &lt; MonthDays; DayCounter++)<br />
{<br />
if((DayCounter + WeekStart) % 7 == 1) HTML += &#8216;&lt;tr&gt;&#8217;;<br />
if(DayCounter == Day)<br />
HTML += &#8216;&lt;td&gt;&lt;a ID=wdg97 href=&#8221;javascript:ReturnDate(&#8216; + DayCounter + &#8216;)&#8221;&gt;&#8217; + DayCounter + &#8216;&lt;/a&gt;&lt;/td&gt;&#8217;;<br />
else HTML += &#8216;&lt;td&gt;&lt;a ID=wdg97 href=&#8221;javascript:ReturnDate(&#8216; + DayCounter + &#8216;)&#8221;&gt;&#8217; + DayCounter + &#8216;&lt;/a&gt;&lt;/td&gt;&#8217;;<br />
if((DayCounter + WeekStart) % 7 == 0) HTML += &#8216;&lt;/tr&gt;&#8217;;<br />
}<br />
// Fill the next month days with space<br />
for(j = (42 &#8211; (MonthDays + WeekStart)), DayCounter = 0; DayCounter &lt;= j; DayCounter++)<br />
{<br />
HTML += &#8216;&lt;td&gt;&amp;nbsp;&lt;/td&gt;&#8217;;<br />
if((j &#8211; DayCounter) % 7 == 0) HTML += &#8216;&lt;/tr&gt;&#8217;;<br />
}<br />
HTML += &#8216;&lt;/table&gt;&#8217;;<br />
Container.innerHTML = HTML;<br />
// Returns Id of the element containing the calendar<br />
return ContainerId;<br />
}<br />
function ReturnDate(Day)<br />
{<br />
alert(Year+&#8221;-&#8221;+Month+&#8221;-&#8221;+Day);<br />
}<br />
function MakeDate(iYear, iMonth, iDay, fn)<br />
{<br />
D = new Date();<br />
Year = (typeof(iYear) != &#8216;undefined&#8217;) ? iYear : D.getFullYear();<br />
Month = (typeof(iMonth) != &#8216;undefined&#8217;) ? iMonth : D.getMonth();<br />
Day = (typeof(iDay) != &#8216;undefined&#8217;) ? iDay : D.getDate();<br />
ReturnFunc = fn;<br />
id = Calendar(Year, Month+1, Day, &#8216;cal&#8217;, &#8216;CalendarRed&#8217;);<br />
}<br />
//&#8211;&gt;<br />
&lt;/script&gt;<br />
&lt;/head&gt;</p>
<p>&lt;body onLoad=&#8221;MakeDate();&#8221;&gt;<br />
&lt;div id=&#8217;cal&#8217;&gt; &lt;/div&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parthuat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parthuat.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parthuat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parthuat.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/parthuat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/parthuat.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/parthuat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/parthuat.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parthuat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parthuat.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parthuat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parthuat.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parthuat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parthuat.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=6&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://parthuat.wordpress.com/2009/12/31/simple-javascript-calendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/53e2906f78f61a895e99f94bd7ccb346?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parthuat</media:title>
		</media:content>
	</item>
		<item>
		<title>javascript &#8211; Files in a Folder</title>
		<link>http://parthuat.wordpress.com/2009/12/31/javascript-files-in-a-folder/</link>
		<comments>http://parthuat.wordpress.com/2009/12/31/javascript-files-in-a-folder/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 11:07:37 +0000</pubDate>
		<dc:creator>parthuat</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://parthuat.wordpress.com/?p=4</guid>
		<description><![CDATA[&#60;script&#62; var folderspec="C:\\" var   fso,   f,   f1,   fc,   s; fso   =   new ActiveXObject("Scripting.FileSystemObject"); f   =   fso.GetFolder(folderspec); fc   =   new   Enumerator(f.files); s   =   ""; for   (;   !fc.atEnd();   fc.moveNext()) { s   +=   fc.item(); s   +=   "&#60;br&#62;"; } document.write(s); &#60;/script&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=4&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><code>&lt;script&gt;<br />
var folderspec="C:\\"<br />
var   fso,   f,   f1,   fc,   s;<br />
fso   =   new ActiveXObject("Scripting.FileSystemObject");<br />
f   =   fso.GetFolder(folderspec);<br />
fc   =   new   Enumerator(f.files);<br />
s   =   "";<br />
for   (;   !fc.atEnd();   fc.moveNext())<br />
{<br />
s   +=   fc.item();<br />
s   +=   "&lt;br&gt;";<br />
}<br />
document.write(s);<br />
&lt;/script&gt;</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/parthuat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/parthuat.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/parthuat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/parthuat.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/parthuat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/parthuat.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/parthuat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/parthuat.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/parthuat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/parthuat.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/parthuat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/parthuat.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/parthuat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/parthuat.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=parthuat.wordpress.com&amp;blog=10878570&amp;post=4&amp;subd=parthuat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://parthuat.wordpress.com/2009/12/31/javascript-files-in-a-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/53e2906f78f61a895e99f94bd7ccb346?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">parthuat</media:title>
		</media:content>
	</item>
	</channel>
</rss>
