<?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>Vinodkram &#187; javascript</title>
	<atom:link href="http://www.vinodkram.com/category/javascript/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vinodkram.com</link>
	<description>Creative, Informative and Entertaining Stuff for everyone</description>
	<lastBuildDate>Mon, 26 Dec 2011 18:34:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to execute local system command by using javascript</title>
		<link>http://www.vinodkram.com/how-to-execute-local-system-command-by-using-javascript</link>
		<comments>http://www.vinodkram.com/how-to-execute-local-system-command-by-using-javascript#comments</comments>
		<pubDate>Sat, 11 Jul 2009 06:31:25 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.vinodkram.com/?p=67</guid>
		<description><![CDATA[&#60;script type=&#8221;text/javascript&#8221;&#62; MyObject = new ActiveXObject( &#8220;WScript.Shell&#8221;) MyObject.Run(&#8220;cmd&#8221;) ; &#60;/script&#62; In second line instead of &#8220;cmd&#8221; you can execute any command of your system , it could me &#8220;notepad.exe&#8221; or any other command .]]></description>
			<content:encoded><![CDATA[<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
MyObject = new ActiveXObject( &#8220;WScript.Shell&#8221;)<br />
MyObject.Run(&#8220;cmd&#8221;) ;<br />
&lt;/script&gt;</p>
<p>In second line instead of &#8220;cmd&#8221; you can execute any command of your system , it could me &#8220;notepad.exe&#8221; or any other command .</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vinodkram.com/how-to-execute-local-system-command-by-using-javascript/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>check whether any of the checkbox are checked or not</title>
		<link>http://www.vinodkram.com/check-whether-all-the-checkbox-are-checked-or-not</link>
		<comments>http://www.vinodkram.com/check-whether-all-the-checkbox-are-checked-or-not#comments</comments>
		<pubDate>Mon, 04 May 2009 12:14:39 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://vinodkram.wordpress.com/?p=58</guid>
		<description><![CDATA[function isChecked(url) { f=document.frmName var checkFound = false; for (var counter=0; counter &#60; f.length; counter++) { if ((f.elements[counter].name == &#8216;checkBoxId[]&#8216;) &#38;&#38; (f.elements[counter].checked == true)) { checkFound = true; } } if (checkFound != true) { alert(&#8216;Please check at least one checkbox.&#8217;); return false; } else { //do something } }]]></description>
			<content:encoded><![CDATA[<p>function isChecked(url)<br />
	{<br />
		f=document.frmName<br />
		var checkFound = false;<br />
		for (var counter=0; counter &lt; f.length; counter++)<br />
		{<br />
			if ((f.elements[counter].name == &#8216;checkBoxId[]&#8216;) &amp;&amp; (f.elements[counter].checked == true))<br />
			{<br />
				checkFound = true;<br />
			}<br />
		}<br />
		if (checkFound != true)<br />
		{<br />
			alert(&#8216;Please check at least one checkbox.&#8217;);<br />
			return false;<br />
		}<br />
		else<br />
		{<br />
					//do something<br />
		}</p>
<p>	}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vinodkram.com/check-whether-all-the-checkbox-are-checked-or-not/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check or uncheck multiple checkbox at a time in javascript</title>
		<link>http://www.vinodkram.com/check-or-uncheck-multiple-checkbox-at-a-time-in-javascript</link>
		<comments>http://www.vinodkram.com/check-or-uncheck-multiple-checkbox-at-a-time-in-javascript#comments</comments>
		<pubDate>Mon, 04 May 2009 12:10:02 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://vinodkram.wordpress.com/?p=56</guid>
		<description><![CDATA[function checkUncheckAllCheckbox() { f=document.frmName if(f.mainCheckBox.checked) { f.checkBoxName.checked=true; for(i=0;i&#60;f.checkBoxName.length;i++) f.checkBoxName[i].checked=true; } else if(!f.mainCheckBox.checked) { f.checkBoxName.checked=false; for(i=0;i&#60;f.checkBoxName.length;i++) f.checkBoxName[i].checked=false; } }]]></description>
			<content:encoded><![CDATA[<p>function checkUncheckAllCheckbox()<br />
{<br />
    f=document.frmName<br />
   if(f.mainCheckBox.checked)<br />
  {<br />
        f.checkBoxName.checked=true;<br />
        for(i=0;i&lt;f.checkBoxName.length;i++)<br />
            f.checkBoxName[i].checked=true;<br />
  }<br />
  else if(!f.mainCheckBox.checked)<br />
 {<br />
        f.checkBoxName.checked=false;<br />
        for(i=0;i&lt;f.checkBoxName.length;i++)<br />
        f.checkBoxName[i].checked=false;<br />
 }<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vinodkram.com/check-or-uncheck-multiple-checkbox-at-a-time-in-javascript/feed</wfw:commentRss>
		<slash:comments>68</slash:comments>
		</item>
	</channel>
</rss>

