<?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>freelancer nepal, web programmer nepal</title>
	<atom:link href="http://shri.com.np/webprogrammer/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://shri.com.np/webprogrammer</link>
	<description>web programmer, web developer, freelancer nepal</description>
	<lastBuildDate>Sun, 25 Sep 2011 09:28:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Javascript array of checkbox validation, validation of at least one checkbox array using javascript</title>
		<link>http://shri.com.np/webprogrammer/?p=41</link>
		<comments>http://shri.com.np/webprogrammer/?p=41#comments</comments>
		<pubDate>Sun, 25 Sep 2011 09:28:19 +0000</pubDate>
		<dc:creator>criz7030</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://shri.com.np/webprogrammer/?p=41</guid>
		<description><![CDATA[&#60;script type=&#8221;text/javascript&#8221;&#62; function chkChecks(){ isChecked=false for(var i=0;i&#60;document.forms["new_page"]["allowed[]&#8220;].length;i++) { if(document.forms["new_page"]["allowed[]&#8220;][i].checked) { isChecked=true } } if(!isChecked){ alert(&#8220;please choose at least one checkbox&#8221;); return false; } } &#60;/script&#62; &#60;form name=&#8221;new_page&#8221; action=&#8221;"&#62; &#60;input type=&#8221;checkbox&#8221; name=&#8221;allowed[]&#8221; value=&#8221;2&#8243;&#62; &#60;input type=&#8221;checkbox&#8221; name=&#8221;allowed[]&#8221; value=&#8221;2&#8243;&#62; &#60;input type=&#8221;checkbox&#8221; name=&#8221;allowed[]&#8221; value=&#8221;2&#8243;&#62; &#60;input type=&#8221;button&#8221; value=&#8221;Toevoegen&#8221; onclick=&#8221;chkChecks()&#8221;&#62; &#60;/form&#62;]]></description>
			<content:encoded><![CDATA[<p>&lt;script type=&#8221;text/javascript&#8221;&gt;</p>
<p>function chkChecks(){<br />
isChecked=false</p>
<p>for(var i=0;i&lt;document.forms["new_page"]["allowed[]&#8220;].length;i++)<br />
{<br />
if(document.forms["new_page"]["allowed[]&#8220;][i].checked)<br />
{<br />
isChecked=true<br />
}<br />
}</p>
<p>if(!isChecked){<br />
alert(&#8220;please choose at least one checkbox&#8221;);<br />
return false;<br />
}</p>
<p>}</p>
<p>&lt;/script&gt;</p>
<p>&lt;form name=&#8221;new_page&#8221; action=&#8221;"&gt;<br />
&lt;input type=&#8221;checkbox&#8221; name=&#8221;allowed[]&#8221; value=&#8221;2&#8243;&gt;<br />
&lt;input type=&#8221;checkbox&#8221; name=&#8221;allowed[]&#8221; value=&#8221;2&#8243;&gt;<br />
&lt;input type=&#8221;checkbox&#8221; name=&#8221;allowed[]&#8221; value=&#8221;2&#8243;&gt;<br />
&lt;input type=&#8221;button&#8221; value=&#8221;Toevoegen&#8221; onclick=&#8221;chkChecks()&#8221;&gt;<br />
&lt;/form&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://shri.com.np/webprogrammer/?feed=rss2&#038;p=41</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php programming tips</title>
		<link>http://shri.com.np/webprogrammer/?p=35</link>
		<comments>http://shri.com.np/webprogrammer/?p=35#comments</comments>
		<pubDate>Wed, 21 Sep 2011 17:11:25 +0000</pubDate>
		<dc:creator>criz7030</dc:creator>
				<category><![CDATA[PHP Tips]]></category>

		<guid isPermaLink="false">http://shri.com.np/webprogrammer/?p=35</guid>
		<description><![CDATA[PHP Programming Tips &#160; Variable Operations Operating on an initialized variable is 376% faster than operating on an unitialized variable. Constants are 146% slower than variables Local variables are 9.9% faster than global variables String Functions &#8216;String&#8217; is 0.26% faster than &#8220;String&#8221; &#8220;String&#8221; is 4% faster than HEREDOC syntax &#8220;String\n&#8221; is 108% faster than &#8216;String&#8217;.&#8221;\n&#8221; [...]]]></description>
			<content:encoded><![CDATA[<table border="0" cellpadding="0">
<tbody>
<tr>
<td width="100%">PHP Programming Tips</p>
<p>&nbsp;</td>
</tr>
</tbody>
</table>
<table border="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0" align="right">
<tbody>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
<tr>
<td></td>
</tr>
</tbody>
</table>
<p><strong>Variable Operations</strong></p>
<ul>
<li>Operating on an initialized variable is 376% faster than operating on an unitialized variable.</li>
<li>Constants are 146% slower than variables</li>
<li>Local variables are 9.9% faster than global variables</li>
</ul>
<p><strong>String Functions</strong></p>
<ul>
<li>&#8216;String&#8217; is 0.26% faster than &#8220;String&#8221;</li>
<li>&#8220;String&#8221; is 4% faster than HEREDOC syntax</li>
<li>&#8220;String\n&#8221; is 108% faster than &#8216;String&#8217;.&#8221;\n&#8221;</li>
<li>&#8216;String&#8217;.$var is 28% faster than &#8220;String$var&#8221;</li>
<li>&#8216;string &#8216;.$var.&#8217; string&#8217; is 55% faster than sprintf(&#8216;string %s string&#8217;, $var)</li>
<li>&#8220;\n&#8221; is 70% faster than chr(10)</li>
<li>strnatcmp() is 4.95% faster than strcmp()</li>
<li>strcasecmp() is 45% faster than preg_match()</li>
<li>strcasecmp() is 6.6% faster than strtoupper($string) == &#8220;STRING&#8221;</li>
<li>strcasecmp() is 13% faster than strnatcasecmp()</li>
<li>strtr($string, $string1, $string2) is 10% faster than str_replace()</li>
<li>str_replace() is 161% faster than strtr($string, $array)</li>
<li>stristr() is 10% faster than stripos()</li>
<li>strpos() is 9.7% faster than strstr()</li>
<li>isset($str{5}) is 176% faster than strlen($str) &gt; 5</li>
<li>str_replace($str, $str, $str) twice is 17% faster than str_replace(array, array, string)</li>
<li>list() = explode() is 13% faster than substr($str, strpos($str))</li>
</ul>
<p><strong>Numeric Functions</strong></p>
<ul>
<li>++$int is 10% faster than $int++</li>
<li>(float) is 48% faster than settype($var, &#8216;float&#8217;)</li>
</ul>
<p><strong>Array Functions</strong></p>
<ul>
<li>list() = $array; is 3.4% faster than assigning each variable</li>
<li>in_array() is 6% faster than array_search</li>
<li>isset($array[$key]) is 230% faster than array_key_exists()</li>
<li>!empty($array) is 66% faster than count($array)</li>
</ul>
<p><strong>Output Functions</strong></p>
<ul>
<li>echo is 5% faster than print()</li>
<li>echo &#8216; &#8216;.&#8217; &#8216; is 0.44% faster than echo &#8216; &#8216;,&#8217; &#8216;</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>Copied!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://shri.com.np/webprogrammer/?feed=rss2&#038;p=35</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to call function in jquery?</title>
		<link>http://shri.com.np/webprogrammer/?p=20</link>
		<comments>http://shri.com.np/webprogrammer/?p=20#comments</comments>
		<pubDate>Tue, 20 Sep 2011 16:50:13 +0000</pubDate>
		<dc:creator>criz7030</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://shri.com.np/webprogrammer/?p=20</guid>
		<description><![CDATA[&#60;script type="text/javascript" src="Scripts/jquery-1.2.6.min.js"&#62;&#60;/script&#62;     &#60;script type="text/javascript"&#62;         $(document).ready(function() {             $("#openLink").click(function() {                 $("#message").slideDown("fast");             });             $("#closeLink").click("closeIt");         });         function closeIt() [...]]]></description>
			<content:encoded><![CDATA[<pre><code>&lt;script type="text/javascript" src="Scripts/jquery-1.2.6.min.js"&gt;&lt;/script&gt;

    &lt;script type="text/javascript"&gt;
        $(document).ready(function() {
            $("#openLink").click(function() {
                $("#message").slideDown("fast");
            });
            $("#closeLink").click("closeIt");
        });

        function closeIt() {
            $("#message").slideUp("slow");
        }
    &lt;/script&gt;

    &lt;div id="control"&gt;
        Click these links to
 &lt;span id="openLink"&gt;open&lt;/span&gt; and &lt;span id="closeLink"&gt;close&lt;/span&gt; this
        message.&lt;/div&gt;
    &lt;div id="message" style="display: none"&gt;
        This is a test message.&lt;/div&gt;
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://shri.com.np/webprogrammer/?feed=rss2&#038;p=20</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>javascipt round into 2 decimal places example</title>
		<link>http://shri.com.np/webprogrammer/?p=17</link>
		<comments>http://shri.com.np/webprogrammer/?p=17#comments</comments>
		<pubDate>Mon, 20 Sep 2010 14:03:31 +0000</pubDate>
		<dc:creator>criz7030</dc:creator>
				<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://shri.com.np/webprogrammer/?p=17</guid>
		<description><![CDATA[javascipt round into 2 decimal places with example. function roundvalue () { var input = 55.24578; var num = new Number (parseFloat (input)); var rounded = num.toFixed (2); alert(rounded); }]]></description>
			<content:encoded><![CDATA[<p>javascipt round into 2 decimal places with example.</p>
<p>function roundvalue ()<br />
 	{<br />
 	var input = 55.24578;<br />
 	var num = new Number (parseFloat (input));<br />
 	var rounded = num.toFixed (2);<br />
	alert(rounded);<br />
 	}</p>
]]></content:encoded>
			<wfw:commentRss>http://shri.com.np/webprogrammer/?feed=rss2&#038;p=17</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Freelancer Nepal, website design nepal</title>
		<link>http://shri.com.np/webprogrammer/?p=9</link>
		<comments>http://shri.com.np/webprogrammer/?p=9#comments</comments>
		<pubDate>Sat, 10 Apr 2010 15:30:22 +0000</pubDate>
		<dc:creator>criz7030</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://shri.com.np/webprogrammer/?p=9</guid>
		<description><![CDATA[Hi, I am a Freelanced Web Designer, Freelanced Web Programmer, php mysql programmer from Nepal with a team of 4-5 Freelanced Web Developers offering a variety of services from basic Website Design to complete e-commerce website development. We have created and launched hundreds of successful websites since our inception, for many different types of businesses. [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, I am a Freelanced Web Designer, Freelanced Web Programmer, php mysql programmer from Nepal with a team of 4-5 Freelanced Web Developers offering a variety of services from basic Website Design to complete e-commerce website development. We have created and launched hundreds of successful websites since our inception, for many different types of businesses. Our web designers have the creative talent to appeal to your sense of style, the training and knowledge of current web standards and practices, and the ability to turn your ideas into reality!</p>
<p>Our website design clients range from small start-up companies to large corporations and everything in between. With our combined experience in graphic design, website development and e-commerce stores, you can be confident that whatever your project demands, our web developers can deliver. Browse our portfolio and when you are convinced of our abilities, you may request your no cost, no obligation quote.</p>
]]></content:encoded>
			<wfw:commentRss>http://shri.com.np/webprogrammer/?feed=rss2&#038;p=9</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

