<?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>ToTheTech.Net - The Webmaster Guide &#187; JavaScript</title>
	<atom:link href="http://www.tothetech.net/category/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.tothetech.net</link>
	<description>We write all about Webmaster needs.</description>
	<lastBuildDate>Sat, 04 Sep 2010 05:00:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Window.captureEvents() DOM Event Method</title>
		<link>http://www.tothetech.net/javascript/window-captureevents-dom-event-method.html</link>
		<comments>http://www.tothetech.net/javascript/window-captureevents-dom-event-method.html#comments</comments>
		<pubDate>Thu, 02 Sep 2010 03:33:56 +0000</pubDate>
		<dc:creator>Karthikeyan</dc:creator>
				<category><![CDATA[DOM]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.tothetech.net/?p=220</guid>
		<description><![CDATA[This captureEvents() thia JavaScript function is used to get the events occurred like mouse click, mouse move, resize etc. inside browser view area. This function is supported only in Firefox browser. Syntax window.captureEvents(eventType) List of Event types Event.ABORT, Event.BLUR, Event.CLICK, Event.CHANGE, Event.DBLCLICK, Event.DRAGDDROP, Event.ERROR, Event.FOCUS, Event.KEYDOWN, Event.KEYPRESS, Event.KEYUP, Event.LOAD, Event.MOUSEDOWN, Event.MOUSEMOVE, Event.MOUSEOUT, Event.MOUSEOVER, Event.MOUSEUP, Event.MOVE, [...]]]></description>
			<content:encoded><![CDATA[<p>This captureEvents() thia JavaScript function is used to get the events occurred like mouse click, mouse move, resize etc. inside browser view area. This function is supported only in Firefox browser.</p>
<p><span id="more-220"></span><strong>Syntax</strong></p>
<pre>window.captureEvents(eventType)
</pre>
<p><strong>List of Event types</strong></p>
<p>Event.ABORT, Event.BLUR, Event.CLICK, Event.CHANGE, Event.DBLCLICK, Event.DRAGDDROP, Event.ERROR, Event.FOCUS, Event.KEYDOWN, Event.KEYPRESS, Event.KEYUP, Event.LOAD, Event.MOUSEDOWN, Event.MOUSEMOVE, Event.MOUSEOUT, Event.MOUSEOVER, Event.MOUSEUP, Event.MOVE, Event.RESET, Event.RESIZE, Event.SELECT, Event.SUBMIT, Event.UNLOAD.</p>
<p><strong>Note</strong>: Window.captureEvents() is not a part of any standard and it is Obsolete.</p>
<p>Example:</p>
<pre>&lt;html&gt;
 &lt;script&gt;
  function reg() {
   window.captureEvents(Event.LOAD);
   window.onclick = page_click;
  }

  function page_click() {
   alert('You have clicked in this page!');
  }
 &lt;/script&gt;

 &lt;body onload="reg();"&gt;
 &lt;p&gt;click anywhere on this page.&lt;/p&gt;
 &lt;/body&gt;
&lt;/html&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.tothetech.net/javascript/window-captureevents-dom-event-method.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use of Noscript Tag</title>
		<link>http://www.tothetech.net/javascript/use-of-noscript-tag.html</link>
		<comments>http://www.tothetech.net/javascript/use-of-noscript-tag.html#comments</comments>
		<pubDate>Thu, 30 Apr 2009 01:23:44 +0000</pubDate>
		<dc:creator>Karthikeyan</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[noscript]]></category>

		<guid isPermaLink="false">http://www.tothetech.net/?p=43</guid>
		<description><![CDATA[Noscript tag is used when ever client side browser does not JavaScript or VBScript in that situation you can use &#60;noscript&#62; tag which displays the content inside &#60;noscript&#62; tag whenever JavaScript is not supported in client browser. Example &#60;noscript&#62; tag &#60;script type="text/javascript"&#62; document.write("JavaScript is enabled"); &#60;/script&#62; &#60;noscript&#62; Your Browser doesn't supports JavaScript. Try to enable [...]]]></description>
			<content:encoded><![CDATA[<p>Noscript tag is used when ever client side browser does not JavaScript or VBScript in that situation you can use &lt;noscript&gt; tag which displays the content inside &lt;noscript&gt; tag whenever JavaScript is not supported in client browser.</p>
<p><span id="more-43"></span></p>
<p>Example &lt;noscript&gt; tag</p>
<pre>
<code>&lt;script type="text/javascript"&gt;
document.write("JavaScript is enabled");
&lt;/script&gt;
&lt;noscript&gt;
Your Browser doesn't supports JavaScript. Try to enable JavaScript and reload the website
&lt;/noscript&gt;</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.tothetech.net/javascript/use-of-noscript-tag.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto Form Submit in Drop Down Item</title>
		<link>http://www.tothetech.net/javascript/auto-form-submit-in-drop-down-item.html</link>
		<comments>http://www.tothetech.net/javascript/auto-form-submit-in-drop-down-item.html#comments</comments>
		<pubDate>Tue, 28 Apr 2009 14:11:53 +0000</pubDate>
		<dc:creator>Karthikeyan</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Drop Down]]></category>
		<category><![CDATA[Submit]]></category>

		<guid isPermaLink="false">http://www.tothetech.net/?p=39</guid>
		<description><![CDATA[It&#8217;s simple to submit a form easily with the help of submit button, which will submit the data to process further. But in drop down item after selecting an option, we have to click submit button to submit form. we can also  submit form automatically after selecting an option in drop down item using on [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s simple to submit a form easily with the help of submit button, which will submit the data to process further. But in drop down item after selecting an option, we have to click submit button to submit form.<br />
<span id="more-39"></span>we can also  submit form automatically after selecting an option in drop down item using on change option action via JavaScript.</p>
<p><strong>Submitting Form using Submit button</strong></p>
<pre>
<code>&lt;form action="filename.php" method="POST"&gt;
&lt;select name="sel"&gt;
&lt;option&gt; Option 1 &lt;/option&gt;
&lt;option&gt; Option 2 &lt;/option&gt;
&lt;option&gt; Option 3 &lt;/option&gt;
&lt;option&gt; Option 4 &lt;/option&gt;
&lt;/select&gt;
&lt;input type="submit" value="submit"&gt;
&lt;/form&gt;</code>
</pre>
<p><strong>Submitting Form using onChange JavaScript</strong></p>
<pre>
<code>&lt;form action="filename.php" method="POST"&gt;
&lt;select name="sel" onchange="this.form.submit();"&gt;
&lt;option&gt; Option 1 &lt;/option&gt;
&lt;option&gt; Option 2 &lt;/option&gt;
&lt;option&gt; Option 3 &lt;/option&gt;
&lt;option&gt; Option 4 &lt;/option&gt;
&lt;/select&gt;
&lt;/form&gt;</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.tothetech.net/javascript/auto-form-submit-in-drop-down-item.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Statement, Block and Comments</title>
		<link>http://www.tothetech.net/javascript/javascript-statement-block-and-comments.html</link>
		<comments>http://www.tothetech.net/javascript/javascript-statement-block-and-comments.html#comments</comments>
		<pubDate>Sun, 26 Apr 2009 10:11:14 +0000</pubDate>
		<dc:creator>Karthikeyan</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[comments]]></category>
		<category><![CDATA[statements]]></category>

		<guid isPermaLink="false">http://www.tothetech.net/?p=29</guid>
		<description><![CDATA[JavaScript can be stated as a statement or block, Statement which does not contains open braces and close braces . Example for statement &#60;script type="text/javascript"&#62; document.write("Statement"); &#60;/script&#62; Example for block &#60;script type="text/javascript"&#62; { document.write("Block"); } &#60;/script&#62; Comments : Comments are used as developer identification when ever any developer monitors he or she should understand. comments [...]]]></description>
			<content:encoded><![CDATA[<p>JavaScript can be stated as a statement or block, Statement which does not contains open braces and close braces .</p>
<p><strong>Example for statement</strong></p>
<pre>
<code>&lt;script type="text/javascript"&gt;
document.write("Statement");
&lt;/script&gt;</code>
</pre>
<p><strong>Example for block</strong></p>
<pre>
<code>&lt;script type="text/javascript"&gt;
{
 document.write("Block");
}
&lt;/script&gt;</code>
</pre>
<p><span id="more-29"></span></p>
<p><strong>Comments :</strong> Comments are used as developer identification when ever any developer monitors he or she should understand. comments contains single line comment and multiple line comments as like as other languages.</p>
<p><strong>Example for Single line comment</strong></p>
<pre>
<code>&lt;html&gt;
&lt;body&gt;
&lt;script type="text/javascript"&gt;
//document.write("testing single line comment");
document.write("test success");
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</code>
</pre>
<p><strong>Example for multiple line comments</strong></p>
<pre>
<code>&lt;html&gt;
&lt;body&gt;
&lt;script type="text/javascript"&gt;
/*
document.write("Testing Multiple line comments");
*/
document.write("Testing Succeeded");
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</code>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.tothetech.net/javascript/javascript-statement-block-and-comments.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic JavaScript Examples</title>
		<link>http://www.tothetech.net/javascript/basic-javascript-examples.html</link>
		<comments>http://www.tothetech.net/javascript/basic-javascript-examples.html#comments</comments>
		<pubDate>Sat, 25 Apr 2009 10:20:26 +0000</pubDate>
		<dc:creator>Karthikeyan</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[alert]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[text]]></category>

		<guid isPermaLink="false">http://www.tothetech.net/?p=7</guid>
		<description><![CDATA[Writing normal text with JavaScript. Normally every one likes to show their content via HTML web pages with HTML tags. But here i like to write text content inside JavaScript with document object and write property. &#60;html&#62; &#60;body&#62; &#60;script type="text/javascript"&#62; document.write("This an example for writing normal text using JavaScript"); &#60;/script&#62; Output Alert Message on document [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Writing normal text with JavaScript.</strong></p>
<p>Normally every one likes to show their content via HTML web pages with HTML tags. But here i like to write text content inside JavaScript with <strong>document</strong> object and <strong>write</strong> property.</p>
<p><span id="more-7"></span></p>
<pre><code>&lt;html&gt;
&lt;body&gt;
&lt;script type="text/javascript"&gt;
document.write("This an example for writing normal text using JavaScript");
&lt;/script&gt;
</code></pre>
<p><strong>Output</strong><br />
<script type="text/javascript"><!--
document.write("This an example for writing normal text using JavaScript");
// --></script></p>
<p><strong>Alert Message  on document load</strong></p>
<pre>
<code>&lt;html&gt;
&lt;head&gt;
&lt;script type="text/javascript"&gt;
function message()
{
 alert("Welcome");
}
&lt;/script&gt;
&lt;/head&gt;
&lt;body onload="message()"&gt;

&lt;/body&gt;
&lt;/html&gt;</code>
</pre>
<p>The above example program explains how a function in the header is called and alert message is given. Every function can be called when ever an event or action is performed.</p>
<p><strong>Writing HTML tags inside JavaScript</strong></p>
<pre>
<code>&lt;html&gt;
&lt;head&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;script type="text/javascript"&gt;
document.write("<b>Welcome</b>");
&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;</code>
</pre>
<p>Insert HTML tags in <strong>document.write(&quot;&lt;b&gt;Welcome&lt;/b&gt;&quot;);</strong><br />
The above example explains how easily you can use HTML tags inside a JavaScript using document object and write property.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tothetech.net/javascript/basic-javascript-examples.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
