<?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/"
	>

<channel>
	<title>Interview Questions &#187; JavaScript</title>
	<atom:link href="http://www.phpinterviewquestion.com/category/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phpinterviewquestion.com</link>
	<description>Interview Questions</description>
	<lastBuildDate>Sun, 27 Nov 2011 16:32:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to change background color in Javascript through function?</title>
		<link>http://www.phpinterviewquestion.com/javascript/how-to-change-background-color-in-javascript-through-function</link>
		<comments>http://www.phpinterviewquestion.com/javascript/how-to-change-background-color-in-javascript-through-function#comments</comments>
		<pubDate>Wed, 02 Nov 2011 11:51:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=3278</guid>
		<description><![CDATA[Example: Code: &#60;html&#62; &#60;head&#62; &#60;script type="text/javascript"&#62; function changecolor(color_code) { document.bgColor=color_code; } &#60;/script&#62; &#60;/head&#62; &#60;body&#62; &#60;/body&#62; &#60;/html&#62;]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/javascript/how-to-change-background-color-in-javascript-through-function/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to replace a specified value with another value in javascript?</title>
		<link>http://www.phpinterviewquestion.com/javascript/how-to-replace-a-specified-value-with-another-value-in-javascript</link>
		<comments>http://www.phpinterviewquestion.com/javascript/how-to-replace-a-specified-value-with-another-value-in-javascript#comments</comments>
		<pubDate>Tue, 18 Oct 2011 11:43:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[other]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=3242</guid>
		<description><![CDATA[Example: Code: &#60;html&#62; &#60;body&#62; &#60;script type="text/javascript"&#62; { var txt="Shane Watson"; document.write(txt.replace("Watson","Harwood")); } &#60;/script&#62; &#60;/body&#62; &#60;/html&#62; Output: Shane Harwood]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/javascript/how-to-replace-a-specified-value-with-another-value-in-javascript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert a String into uppercase in javascript?</title>
		<link>http://www.phpinterviewquestion.com/javascript/how-to-convert-a-string-into-uppercase-in-javascript-2</link>
		<comments>http://www.phpinterviewquestion.com/javascript/how-to-convert-a-string-into-uppercase-in-javascript-2#comments</comments>
		<pubDate>Tue, 18 Oct 2011 11:34:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=3237</guid>
		<description><![CDATA[Example: Code: &#60;html&#62; &#60;body&#62; &#60;script type="text/javascript"&#62; { var txt="JOHN"; document.write(txt.toLowerCase()); } &#60;/script&#62; &#60;/body&#62; &#60;/html&#62; Output: john]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/javascript/how-to-convert-a-string-into-uppercase-in-javascript-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to convert a string into Uppercase in Javascript?</title>
		<link>http://www.phpinterviewquestion.com/javascript/how-to-convert-a-string-into-uppercase-in-javascript</link>
		<comments>http://www.phpinterviewquestion.com/javascript/how-to-convert-a-string-into-uppercase-in-javascript#comments</comments>
		<pubDate>Tue, 18 Oct 2011 11:31:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=3234</guid>
		<description><![CDATA[Example: Code: &#60;html&#62; &#60;body&#62; &#60;script type="text/javascript"&#62; { var txt="John"; document.write(txt.toUpperCase()); } &#60;/script&#62; &#60;/body&#62; &#60;/html&#62; Output: JOHN]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/javascript/how-to-convert-a-string-into-uppercase-in-javascript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to write for loop in javascript?</title>
		<link>http://www.phpinterviewquestion.com/javascript/how-to-write-for-loop-in-javascript</link>
		<comments>http://www.phpinterviewquestion.com/javascript/how-to-write-for-loop-in-javascript#comments</comments>
		<pubDate>Mon, 17 Oct 2011 11:33:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=3223</guid>
		<description><![CDATA[Example: Code: var a=1; for (a=1;a]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/javascript/how-to-write-for-loop-in-javascript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to write if statement in javascript?</title>
		<link>http://www.phpinterviewquestion.com/javascript/how-to-write-if-statement-in-javascript</link>
		<comments>http://www.phpinterviewquestion.com/javascript/how-to-write-if-statement-in-javascript#comments</comments>
		<pubDate>Sat, 15 Oct 2011 12:44:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=3212</guid>
		<description><![CDATA[var a=11; if (a>10) { document.write(a); } Output: 11]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/javascript/how-to-write-if-statement-in-javascript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to declare a variable in javascript?</title>
		<link>http://www.phpinterviewquestion.com/javascript/how-to-declare-a-variable-in-javascript</link>
		<comments>http://www.phpinterviewquestion.com/javascript/how-to-declare-a-variable-in-javascript#comments</comments>
		<pubDate>Sat, 15 Oct 2011 12:27:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=3203</guid>
		<description><![CDATA[You can create JavaScript variables with the var keyword, as follows: &#60;script type="text/javascript"&#62; var a; var name; &#60;/script&#62; After the declaration , the variables are empty (they have no values). you can also assign values to the variables when you declare them,as follows: &#60;script type="text/javascript"&#62; var a=10; var name="John"; &#60;/script&#62; Note: When you assign a [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/javascript/how-to-declare-a-variable-in-javascript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add string and number in javascript?</title>
		<link>http://www.phpinterviewquestion.com/javascript/how-to-add-string-and-number-in-javascript</link>
		<comments>http://www.phpinterviewquestion.com/javascript/how-to-add-string-and-number-in-javascript#comments</comments>
		<pubDate>Sat, 15 Oct 2011 12:11:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=3197</guid>
		<description><![CDATA[Example: Code: &#60;html&#62; &#60;body&#62; &#60;script type="text/javascript"&#62; var a; a=10+10; document.write(a); document.write(""); a="10"+"10"; document.write(a); document.write(""); a=10+"10"; document.write(a); document.write(""); a="10"+10; document.write(a); document.write(""); &#60;/script&#62; &#60;/body&#62; &#60;/html&#62; Output: 20 1010 1010 1010 Note: If you add a number and a string, the result will be a string.]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/javascript/how-to-add-string-and-number-in-javascript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to print in Javascript ?</title>
		<link>http://www.phpinterviewquestion.com/javascript/3180</link>
		<comments>http://www.phpinterviewquestion.com/javascript/3180#comments</comments>
		<pubDate>Sat, 15 Oct 2011 10:39:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=3180</guid>
		<description><![CDATA[&#60;html&#62; &#60;body&#62; &#60;script type="text/javascript"&#62; { document.write("&#60;h1&#62;This is a heading&#60;/h1&#62;"); document.write("&#60;p&#62;Hello.&#60;/p&#62;"); document.write("&#60;p&#62;World.&#60;/p&#62;"); } &#60;/script&#62; &#60;/body&#62; &#60;/html&#62; OutPut: This is a heading Hello. World.]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/javascript/3180/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display date in inner html</title>
		<link>http://www.phpinterviewquestion.com/javascript/display-date-in-inner-html</link>
		<comments>http://www.phpinterviewquestion.com/javascript/display-date-in-inner-html#comments</comments>
		<pubDate>Sat, 15 Oct 2011 10:06:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=3163</guid>
		<description><![CDATA[Example: Code: &#60;html&#62; &#60;head&#62; &#60;script type="text/javascript"&#62; function displayDate() { document.getElementById("idname").innerHTML=Date(); } &#60;/script&#62; &#60;/head&#62; &#60;body&#62; &#60;h1&#62;The First Page&#60;/h1&#62; &#60;p id="idname"&#62;This is a first paragraph.&#60;/p&#62; &#60;button type="button" onclick="displayDate()"&#62;Display Date&#60;/button&#62; &#60;/body&#62; &#60;/html&#62; function displayDate() { document.getElementById("demo").innerHTML=Date(); } My First Page This is a first paragraph. Display Date]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/javascript/display-date-in-inner-html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to create arrays in JavaScript?</title>
		<link>http://www.phpinterviewquestion.com/javascript/how-to-create-arrays-in-javascript</link>
		<comments>http://www.phpinterviewquestion.com/javascript/how-to-create-arrays-in-javascript#comments</comments>
		<pubDate>Mon, 14 Mar 2011 05:38:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.phpinterviewquestion.com/?p=994</guid>
		<description><![CDATA[We can declare an array like this var scripts = new Array() ; We can add elements to this array like this scripts[0] = &#8221; PHP&#8221; ; scripts[1] = &#8221; ASP&#8221; ; scripts[2] = &#8221; JavaScript&#8221;; scripts[3] = &#8221; HTML&#8221; ; Now our array scripts have 4 elements inside it and we can print or [...]]]></description>
		<wfw:commentRss>http://www.phpinterviewquestion.com/javascript/how-to-create-arrays-in-javascript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.phpinterviewquestion.com @ 2012-02-06 06:35:42 -->
