<?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>Suresh's Weblog</title>
	<atom:link href="http://sureshk37.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sureshk37.wordpress.com</link>
	<description>Yet another mad of JAVA</description>
	<lastBuildDate>Mon, 07 Sep 2009 13:44:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sureshk37.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Suresh's Weblog</title>
		<link>http://sureshk37.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sureshk37.wordpress.com/osd.xml" title="Suresh&#039;s Weblog" />
	<atom:link rel='hub' href='http://sureshk37.wordpress.com/?pushpress=hub'/>
		<item>
		<title>MySQL backup and restore using JAVA</title>
		<link>http://sureshk37.wordpress.com/2009/09/07/mysql-backup-and-restore-using-java/</link>
		<comments>http://sureshk37.wordpress.com/2009/09/07/mysql-backup-and-restore-using-java/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 13:42:14 +0000</pubDate>
		<dc:creator>sureshk37</dc:creator>
				<category><![CDATA[JAVA]]></category>

		<guid isPermaLink="false">http://sureshk37.wordpress.com/?p=122</guid>
		<description><![CDATA[Backup: /******************************************************/ //Database Properties /******************************************************/ String dbName = &#8220;dbName&#8221;; String dbUser = &#8220;dbUser&#8221;; String dbPass = &#8220;dbPass&#8221;; /***********************************************************/ // Execute Shell Command /***********************************************************/ String executeCmd = &#8220;&#8221;; executeCmd = &#8220;mysqldump -u &#8220;+dbUser+&#8221; -p&#8221;+dbPass+&#8221; &#8220;+dbName+&#8221; -r backup.sql&#8221;; } Process runtimeProcess =Runtime.getRuntime().exec(executeCmd); int processComplete = runtimeProcess.waitFor(); if(processComplete == 0){ out.println(&#8220;Backup taken successfully&#8221;); } else { out.println(&#8220;Could not [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=122&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Backup:</strong></p>
<p>/******************************************************/<br />
//Database Properties<br />
/******************************************************/<br />
String dbName = &#8220;dbName&#8221;;<br />
String dbUser = &#8220;dbUser&#8221;;<br />
String dbPass = &#8220;dbPass&#8221;;</p>
<p>/***********************************************************/<br />
// Execute Shell Command<br />
/***********************************************************/<br />
String executeCmd = &#8220;&#8221;;<br />
executeCmd = &#8220;mysqldump -u &#8220;+dbUser+&#8221; -p&#8221;+dbPass+&#8221; &#8220;+dbName+&#8221; -r backup.sql&#8221;;<br />
}<br />
Process runtimeProcess =Runtime.getRuntime().exec(executeCmd);<br />
int processComplete = runtimeProcess.waitFor();<br />
if(processComplete == 0){</p>
<p>out.println(&#8220;Backup taken successfully&#8221;);</p>
<p>} else {</p>
<p>out.println(&#8220;Could not take mysql backup&#8221;);</p>
<p>}</p>
<p><strong>Restore:</strong></p>
<p>/******************************************************/<br />
//Database Properties<br />
/******************************************************/<br />
String dbName = &#8220;dbName&#8221;;<br />
String dbUser = &#8220;dbUser&#8221;;<br />
String dbPass = &#8220;dbPass&#8221;;</p>
<p>/***********************************************************/<br />
// Execute Shell Command<br />
/***********************************************************/<br />
String executeCmd = &#8220;&#8221;;</p>
<p>executeCmd = new String[]{&#8220;/bin/sh&#8221;, &#8220;-c&#8221;, &#8220;mysql -u&#8221; + dbUser+ &#8221; -p&#8221;+dbPass+&#8221; &#8221; + dbName+ &#8221; &lt; backup.sql&#8221; };</p>
<p>}<br />
Process runtimeProcess =Runtime.getRuntime().exec(executeCmd);<br />
int processComplete = runtimeProcess.waitFor();<br />
if(processComplete == 0){</p>
<p>out.println(&#8220;success&#8221;);</p>
<p>} else {</p>
<p>out.println(&#8220;restore failure&#8221;);</p>
<p>}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sureshk37.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sureshk37.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sureshk37.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sureshk37.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sureshk37.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sureshk37.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sureshk37.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sureshk37.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sureshk37.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sureshk37.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sureshk37.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sureshk37.wordpress.com/122/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sureshk37.wordpress.com/122/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sureshk37.wordpress.com/122/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=122&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sureshk37.wordpress.com/2009/09/07/mysql-backup-and-restore-using-java/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5544cc5af46c79188e79703b6c4857e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sureshk37</media:title>
		</media:content>
	</item>
		<item>
		<title>Form validation using JavaScript</title>
		<link>http://sureshk37.wordpress.com/2009/02/24/form-validation-using-javascript/</link>
		<comments>http://sureshk37.wordpress.com/2009/02/24/form-validation-using-javascript/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 11:22:03 +0000</pubDate>
		<dc:creator>sureshk37</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://sureshk37.wordpress.com/?p=117</guid>
		<description><![CDATA[&#60;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01//EN&#8221; &#8220;http://www.w3.org/TR/html4/strict.dtd&#8221;&#62; &#60;html&#62; &#60;head&#62; &#60;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&#62; &#60;title&#62;Untitled Document&#60;/title&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; function formValidate(){ //Name Validation str = &#8220;&#8221;; var fname = document.regForm.fname.value; var regExp = /[a-z\s]/i; var test = regExp.exec(fname); if (test == null) str += &#8220;Name is invalid or empty\n&#8221;; //Date of Birth validation var dob = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=117&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01//EN&#8221; &#8220;http://www.w3.org/TR/html4/strict.dtd&#8221;&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&gt;<br />
&lt;title&gt;Untitled Document&lt;/title&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
function formValidate(){<br />
//Name Validation<br />
str = &#8220;&#8221;;<br />
var fname = document.regForm.fname.value;<br />
var regExp = /[a-z\s]/i;<br />
var test = regExp.exec(fname);<br />
if (test == null)<br />
str += &#8220;Name is invalid or empty\n&#8221;;</p>
<p>//Date of Birth validation<br />
var dob = document.regForm.dob.value;<br />
var regExp = /(0[1-9]|(1|2)[0-9]|3[0-1])-(0[1-9]|1[0-2])-(19[0-9][0-9]|200[0-9])/;<br />
var test = regExp.exec(dob);<br />
if (test == null)<br />
str += &#8220;Date of birth is invalid or empty\n&#8221;;</p>
<p>// Radio button validation<br />
var checked = &#8220;&#8221;;<br />
for (i = 0; i &lt; document.regForm.radio.length; i++) {<br />
if (document.regForm.radio[i].checked)<br />
checked += document.regForm.radio[i].value;<br />
}<br />
if (checked == &#8220;&#8221;)<br />
str += &#8220;Please select sex\n&#8221;;</p>
<p>// Drop down list validation<br />
var qual = document.regForm.qual.value;<br />
if (qual == &#8220;select&#8221;)<br />
str += &#8220;Please select qualification\n&#8221;;</p>
<p>// Email validation<br />
var email = document.regForm.email.value;<br />
var regExp = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;<br />
var test = regExp.exec(email);<br />
if (test == null)<br />
str += &#8220;Email is invalid or empty\n&#8221;;</p>
<p>// Phone number validation<br />
var phone = document.regForm.phone.value;<br />
var regExp = /0[0-9]{2,4}-([2-9])[0-9]{5,7}$/;<br />
var test = regExp.exec(phone);<br />
if (test == null)<br />
str += &#8220;Phone number is invalid or empty\n&#8221;;</p>
<p>// Check box validation<br />
var checked = &#8220;&#8221;;<br />
for (i = 0; i &lt; document.regForm.checkbox.length; i++) {<br />
if (document.regForm.checkbox[i].checked)<br />
checked += document.regForm.checkbox[i].value;<br />
}<br />
if (checked == &#8220;&#8221;)<br />
str += &#8220;Please select the hobbies\n&#8221;;</p>
<p>alert(str);<br />
return false;<br />
}<br />
&lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;form action=&#8221;" method=&#8221;post&#8221; name=&#8221;regForm&#8221;&gt;<br />
Name : &lt;input type=&#8221;text&#8221; id=&#8221;fname&#8221; name=&#8221;fname&#8221;&gt;<br />
&lt;br&gt;<br />
Date of Birth : &lt;input type=&#8221;text&#8221; name=&#8221;dob&#8221;&gt;(dd-mm-yyyy)<br />
&lt;br&gt;<br />
Sex : &lt;input type=&#8221;radio&#8221; name=&#8221;radio&#8221; value=&#8221;male&#8221;&gt;Male<br />
&lt;input type=&#8221;radio&#8221; name=&#8221;radio&#8221; value=&#8221;female&#8221;&gt;Female<br />
&lt;br&gt;<br />
Qualification :<br />
&lt;select name=&#8221;qual&#8221;&gt;<br />
&lt;option value=&#8221;select&#8221;&gt;Please Select&lt;/option&gt;<br />
&lt;option value=&#8221;B.Tech&#8221;&gt;B.tech&lt;/option&gt;<br />
&lt;option value=&#8221;MCA&#8221;&gt;MCA&lt;/option&gt;<br />
&lt;/select&gt;<br />
&lt;br&gt;<br />
Email : &lt;input type=&#8221;text&#8221; name=&#8221;email&#8221;&gt;<br />
&lt;br&gt;<br />
Phone number : &lt;input type=&#8221;text&#8221; name=&#8221;phone&#8221;&gt;(for ex: 080-2322222)<br />
&lt;br&gt;<br />
Hobbies : &lt;input type=&#8221;checkbox&#8221; name=&#8221;checkbox&#8221; value=&#8221;music&#8221;&gt;Listening to Music<br />
&lt;input type=&#8221;checkbox&#8221; name=&#8221;checkbox&#8221; value=&#8221;books&#8221;&gt;Reading Books<br />
&lt;input type=&#8221;checkbox&#8221; name=&#8221;checkbox&#8221; value=&#8221;sports&#8221;&gt;Sports<br />
&lt;br&gt;<br />
&lt;input type=&#8221;submit&#8221; value=&#8221;Submit&#8221; onclick=&#8221;return formValidate()&#8221;&gt;<br />
&lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<div id="attachment_120" class="wp-caption alignnone" style="width: 490px"><img class="size-full wp-image-120" title="form" src="http://sureshk37.files.wordpress.com/2009/02/form.jpg?w=480&#038;h=221" alt="Form Validation" width="480" height="221" /><p class="wp-caption-text">Form Validation</p></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sureshk37.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sureshk37.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sureshk37.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sureshk37.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sureshk37.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sureshk37.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sureshk37.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sureshk37.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sureshk37.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sureshk37.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sureshk37.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sureshk37.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sureshk37.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sureshk37.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=117&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sureshk37.wordpress.com/2009/02/24/form-validation-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5544cc5af46c79188e79703b6c4857e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sureshk37</media:title>
		</media:content>

		<media:content url="http://sureshk37.files.wordpress.com/2009/02/form.jpg" medium="image">
			<media:title type="html">form</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding and Removing options from list box using JavaScript</title>
		<link>http://sureshk37.wordpress.com/2009/02/24/adding-and-removing-options-from-list-box-using-javascript/</link>
		<comments>http://sureshk37.wordpress.com/2009/02/24/adding-and-removing-options-from-list-box-using-javascript/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 07:22:35 +0000</pubDate>
		<dc:creator>sureshk37</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://sureshk37.wordpress.com/?p=112</guid>
		<description><![CDATA[&#60;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01//EN&#8221; &#8220;http://www.w3.org/TR/html4/strict.dtd&#8221;&#62; &#60;html&#62; &#60;head&#62; &#60;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&#62; &#60;title&#62;Untitled Document&#60;/title&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; function removeOption(){ var select = document.getElementById(&#8220;softwares&#8221;); for (i = 0; i &#60; select.options.length; i++) { if (select.options[i].selected) { select.remove(i); } } } function addOption(){ var select = document.getElementById(&#8220;softwares&#8221;); var option = document.createElement(&#8220;option&#8221;); var text = document.createTextNode(&#8220;C&#8221;); option.appendChild(text); [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=112&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01//EN&#8221; &#8220;http://www.w3.org/TR/html4/strict.dtd&#8221;&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&gt;<br />
&lt;title&gt;Untitled Document&lt;/title&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
function removeOption(){<br />
var select = document.getElementById(&#8220;softwares&#8221;);<br />
for (i = 0; i &lt; select.options.length; i++) {<br />
if (select.options[i].selected) {<br />
select.remove(i);<br />
}<br />
}<br />
}</p>
<p>function addOption(){<br />
var select = document.getElementById(&#8220;softwares&#8221;);<br />
var option = document.createElement(&#8220;option&#8221;);<br />
var text = document.createTextNode(&#8220;C&#8221;);</p>
<p>option.appendChild(text);<br />
select.appendChild(option);<br />
}</p>
<p>function removeAllOption(){<br />
var select = document.getElementById(&#8220;softwares&#8221;);<br />
for (i = select.options.length; i &gt;= 0; i&#8211;) {<br />
select.remove(i);<br />
}<br />
}<br />
&lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;select id=&#8221;softwares&#8221; multiple&gt;<br />
&lt;option&gt;Java&lt;/option&gt;<br />
&lt;option&gt;PHP&lt;/option&gt;<br />
&lt;option&gt;.NET&lt;/option&gt;<br />
&lt;option&gt;Perl&lt;/option&gt;<br />
&lt;/select&gt;<br />
&lt;input type=&#8221;button&#8221; value=&#8221;Add option&#8221; onclick=&#8221;addOption()&#8221;&gt;<br />
&lt;input type=&#8221;button&#8221; value=&#8221;Remove option&#8221; onclick=&#8221;removeOption()&#8221;&gt;<br />
&lt;input type=&#8221;button&#8221; value=&#8221;Remove All&#8221; onclick=&#8221;removeAllOption()&#8221;&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;<img class="alignnone size-full wp-image-115" title="listbox" src="http://sureshk37.files.wordpress.com/2009/02/listbox.jpg?w=480" alt="list box example" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sureshk37.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sureshk37.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sureshk37.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sureshk37.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sureshk37.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sureshk37.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sureshk37.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sureshk37.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sureshk37.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sureshk37.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sureshk37.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sureshk37.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sureshk37.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sureshk37.wordpress.com/112/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=112&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sureshk37.wordpress.com/2009/02/24/adding-and-removing-options-from-list-box-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5544cc5af46c79188e79703b6c4857e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sureshk37</media:title>
		</media:content>

		<media:content url="http://sureshk37.files.wordpress.com/2009/02/listbox.jpg" medium="image">
			<media:title type="html">listbox</media:title>
		</media:content>
	</item>
		<item>
		<title>Accessing all the elements in drop down list Using JavaScript</title>
		<link>http://sureshk37.wordpress.com/2009/02/24/accessing-all-the-elements-in-selection-list-using-javascript/</link>
		<comments>http://sureshk37.wordpress.com/2009/02/24/accessing-all-the-elements-in-selection-list-using-javascript/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 06:46:59 +0000</pubDate>
		<dc:creator>sureshk37</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://sureshk37.wordpress.com/?p=107</guid>
		<description><![CDATA[&#60;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01//EN&#8221; &#8220;http://www.w3.org/TR/html4/strict.dtd&#8221;&#62; &#60;html&#62; &#60;head&#62; &#60;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&#62; &#60;title&#62;Untitled Document&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;select id=&#8221;softwares&#8221;&#62; &#60;option&#62;Java&#60;/option&#62; &#60;option&#62;PHP&#60;/option&#62; &#60;option&#62;.NET&#60;/option&#62; &#60;option&#62;Perl&#60;/option&#62; &#60;/select&#62; &#60;/body&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; var select = document.getElementById(&#8220;softwares&#8221;); for (i = 0; i &#60; select.options.length; i++) { alert(select.options[i].text); } &#60;/script&#62; &#60;/html&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=107&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01//EN&#8221; &#8220;http://www.w3.org/TR/html4/strict.dtd&#8221;&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&gt;<br />
&lt;title&gt;Untitled Document&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;select id=&#8221;softwares&#8221;&gt;<br />
&lt;option&gt;Java&lt;/option&gt;<br />
&lt;option&gt;PHP&lt;/option&gt;<br />
&lt;option&gt;.NET&lt;/option&gt;<br />
&lt;option&gt;Perl&lt;/option&gt;<br />
&lt;/select&gt;<br />
&lt;/body&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
var select = document.getElementById(&#8220;softwares&#8221;);<br />
for (i = 0; i &lt; select.options.length; i++) {<br />
alert(select.options[i].text);<br />
}<br />
&lt;/script&gt;<br />
&lt;/html&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sureshk37.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sureshk37.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sureshk37.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sureshk37.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sureshk37.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sureshk37.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sureshk37.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sureshk37.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sureshk37.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sureshk37.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sureshk37.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sureshk37.wordpress.com/107/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sureshk37.wordpress.com/107/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sureshk37.wordpress.com/107/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=107&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sureshk37.wordpress.com/2009/02/24/accessing-all-the-elements-in-selection-list-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5544cc5af46c79188e79703b6c4857e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sureshk37</media:title>
		</media:content>
	</item>
		<item>
		<title>Add/Remove rows using JavaScript</title>
		<link>http://sureshk37.wordpress.com/2009/02/23/addremove-rows-using-javascript/</link>
		<comments>http://sureshk37.wordpress.com/2009/02/23/addremove-rows-using-javascript/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 11:33:36 +0000</pubDate>
		<dc:creator>sureshk37</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://sureshk37.wordpress.com/?p=105</guid>
		<description><![CDATA[&#60;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01//EN&#8221; &#8220;http://www.w3.org/TR/html4/strict.dtd&#8221;&#62; &#60;html&#62; &#60;head&#62; &#60;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&#62; &#60;title&#62;Untitled Document&#60;/title&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; function addRow(){ var tab = document.getElementById(&#8220;myTable&#8221;); var tr = document.createElement(&#8216;tr&#8217;); var td1 = document.createElement(&#8216;td&#8217;); var text1 = document.createTextNode(&#8220;Column1&#8243;); var td2 = document.createElement(&#8216;td&#8217;); var text2 = document.createTextNode(&#8220;Column2&#8243;); td1.appendChild(text1); td2.appendChild(text2); tr.appendChild(td1); tr.appendChild(td2); tab.appendChild(tr); } function removeRow(){ var tab = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=105&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01//EN&#8221; &#8220;http://www.w3.org/TR/html4/strict.dtd&#8221;&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&gt;<br />
&lt;title&gt;Untitled Document&lt;/title&gt;<br />
&lt;script type=&#8221;text/javascript&#8221;&gt;</p>
<p>function addRow(){<br />
var tab = document.getElementById(&#8220;myTable&#8221;);</p>
<p>var tr = document.createElement(&#8216;tr&#8217;);</p>
<p>var td1 = document.createElement(&#8216;td&#8217;);<br />
var text1 = document.createTextNode(&#8220;Column1&#8243;);<br />
var td2 = document.createElement(&#8216;td&#8217;);<br />
var text2 = document.createTextNode(&#8220;Column2&#8243;);</p>
<p>td1.appendChild(text1);<br />
td2.appendChild(text2);</p>
<p>tr.appendChild(td1);<br />
tr.appendChild(td2);</p>
<p>tab.appendChild(tr);</p>
<p>}</p>
<p>function removeRow(){<br />
var tab = document.getElementById(&#8220;myTable&#8221;);<br />
var row = tab.rows.length;<br />
row -= 1;<br />
tab.deleteRow(row);<br />
}<br />
&lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;table id=&#8221;myTable&#8221; border=&#8221;1&#8243;&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;<br />
Column1<br />
&lt;/td&gt;<br />
&lt;td&gt;<br />
Column2<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;input type=&#8221;button&#8221; value=&#8221;Add new Row&#8221; onclick=&#8221;addRow()&#8221;&gt;&lt;input type=&#8221;button&#8221; value=&#8221;Remove&#8221; onclick=&#8221;removeRow()&#8221;&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sureshk37.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sureshk37.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sureshk37.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sureshk37.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sureshk37.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sureshk37.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sureshk37.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sureshk37.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sureshk37.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sureshk37.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sureshk37.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sureshk37.wordpress.com/105/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sureshk37.wordpress.com/105/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sureshk37.wordpress.com/105/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=105&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sureshk37.wordpress.com/2009/02/23/addremove-rows-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5544cc5af46c79188e79703b6c4857e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sureshk37</media:title>
		</media:content>
	</item>
		<item>
		<title>dynamically creating table using javascript DOM</title>
		<link>http://sureshk37.wordpress.com/2009/02/23/dynamically-creating-table-using-javascript-dom/</link>
		<comments>http://sureshk37.wordpress.com/2009/02/23/dynamically-creating-table-using-javascript-dom/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 09:25:04 +0000</pubDate>
		<dc:creator>sureshk37</dc:creator>
				<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://sureshk37.wordpress.com/?p=102</guid>
		<description><![CDATA[The following code used to create table dynamically by  using JavaScript DOM. &#60;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01//EN&#8221; &#8220;http://www.w3.org/TR/html4/strict.dtd&#8221;&#62; &#60;html&#62; &#60;head&#62; &#60;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&#62; &#60;title&#62;Untitled Document&#60;/title&#62; &#60;/head&#62; &#60;body&#62; &#60;div id=&#8221;myTable&#8221; border=&#8221;1&#8243;&#62;&#60;/div&#62; &#60;/body&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; var con = document.getElementById(&#8220;myTable&#8221;); var tab = document.createElement(&#8216;table&#8217;); tab.setAttribute(&#8220;border&#8221;, &#8220;1&#8243;); var tr = document.createElement(&#8216;tr&#8217;); var td1 = document.createElement(&#8216;td&#8217;); var [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=102&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The following code used to create table dynamically by  using JavaScript DOM.</p>
<p>&lt;!DOCTYPE HTML PUBLIC &#8220;-//W3C//DTD HTML 4.01//EN&#8221; &#8220;http://www.w3.org/TR/html4/strict.dtd&#8221;&gt;<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;meta http-equiv=&#8221;Content-Type&#8221; content=&#8221;text/html; charset=iso-8859-1&#8243; /&gt;<br />
&lt;title&gt;Untitled Document&lt;/title&gt;</p>
<p>&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;div id=&#8221;myTable&#8221; border=&#8221;1&#8243;&gt;&lt;/div&gt;<br />
&lt;/body&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;</p>
<p>var con = document.getElementById(&#8220;myTable&#8221;);<br />
var tab = document.createElement(&#8216;table&#8217;);<br />
tab.setAttribute(&#8220;border&#8221;, &#8220;1&#8243;);</p>
<p>var tr = document.createElement(&#8216;tr&#8217;);</p>
<p>var td1 = document.createElement(&#8216;td&#8217;);<br />
var text1 = document.createTextNode(&#8220;Column1&#8243;);<br />
var td2 = document.createElement(&#8216;td&#8217;);<br />
var text2 = document.createTextNode(&#8220;Column2&#8243;);</p>
<p>td1.appendChild(text1);<br />
td2.appendChild(text2);</p>
<p>tr.appendChild(td1);<br />
tr.appendChild(td2);</p>
<p>tab.appendChild(tr);</p>
<p>con.appendChild(tab);</p>
<p>&lt;/script&gt;<br />
&lt;/html&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sureshk37.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sureshk37.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sureshk37.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sureshk37.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sureshk37.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sureshk37.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sureshk37.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sureshk37.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sureshk37.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sureshk37.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sureshk37.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sureshk37.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sureshk37.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sureshk37.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=102&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sureshk37.wordpress.com/2009/02/23/dynamically-creating-table-using-javascript-dom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5544cc5af46c79188e79703b6c4857e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sureshk37</media:title>
		</media:content>
	</item>
		<item>
		<title>An absolutely Brilliant Joke, ENJOY!!!</title>
		<link>http://sureshk37.wordpress.com/2009/02/19/an-absolutely-brilliant-joke-enjoy/</link>
		<comments>http://sureshk37.wordpress.com/2009/02/19/an-absolutely-brilliant-joke-enjoy/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 12:56:50 +0000</pubDate>
		<dc:creator>sureshk37</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://sureshk37.wordpress.com/?p=96</guid>
		<description><![CDATA[An absolutely Brilliant Joke, ENJOY!!! A Woman was out golfing one day when she hit the ball into the woods. She went into the woods to look for it and found a frog in a trap. The frog said to her, &#8216;If you release me from this trap, I will grant you three wishes.&#8217; The [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=96&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>An absolutely Brilliant Joke, ENJOY!!!</p>
<p>A Woman was out golfing one day when she hit the<br />
ball into the woods.<br />
She went into the woods to look for it and found a frog<br />
in a trap.</p>
<p>The frog said to her, &#8216;If you release me from this trap, I<br />
will grant you three wishes.&#8217;<br />
The woman freed the frog, and the frog said,<br />
&#8216;Thank you, but I failed to mention that there was a condition to your wishes.</p>
<p>Whatever you wish for, your husband will get ten times of it!&#8217; The woman<br />
said, &#8216;That&#8217;s okay.&#8217;</p>
<p>For her first wish, she wanted to be the most<br />
beautiful woman in the world.<br />
The frog warned her, &#8216;You do realize that this<br />
wish will also make your husband the most handsome man in the world, an Adonis<br />
whom women will flock to&#8217;.<br />
The woman replied, &#8216;That&#8217;s okay, because I will<br />
be the most beautiful woman and he will have eyes only for me.&#8217;<br />
So, KAZAM-<br />
she&#8217;s the most beautiful Woman in the world!</p>
<p>For her second wish, she<br />
wanted to be the richest woman in the world.<br />
The frog said, &#8216;That will make<br />
your husband the richest man in the world. And he will be ten times richer than<br />
you. &#8216;<br />
The woman said, &#8216;That&#8217;s okay, because what&#8217;s mine is his and what&#8217;s<br />
his is mine.&#8217;<br />
So, KAZAM- she&#8217;s the richest woman in the world!</p>
<p>The<br />
frog then inquired about her third wish, and she answered, &#8216;I&#8217;d like to have a<br />
mild heart attack.&#8217;</p>
<p>Moral of the story: Women are clever. Don&#8217;t<br />
mess with them.</p>
<p>Attention<br />
female readers:<br />
This is the end of the joke for you. Stop here and continue<br />
feeling good!</p>
<p>Male<br />
readers: Please scroll down.</p>
<p>The man had a heart attack ten times<br />
&#8216;milder&#8217; than his wife!!!</p>
<p>Moral of the story : Women are really dumb but think they&#8217;re really smart .</p>
<p>Let them continue to think that way and just enjoy the show</p>
<p>PS: If you are a woman and are still reading this; it only goes to show that women never listen!!!</p>
<p>This is to all the guys for a good laugh, and to all the ladies who have a good sense of humour <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>ENJOY&#8230;&#8230;. &#8230;&#8230;&#8230; &#8230;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sureshk37.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sureshk37.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sureshk37.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sureshk37.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sureshk37.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sureshk37.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sureshk37.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sureshk37.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sureshk37.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sureshk37.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sureshk37.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sureshk37.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sureshk37.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sureshk37.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=96&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sureshk37.wordpress.com/2009/02/19/an-absolutely-brilliant-joke-enjoy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5544cc5af46c79188e79703b6c4857e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sureshk37</media:title>
		</media:content>
	</item>
		<item>
		<title>That is life</title>
		<link>http://sureshk37.wordpress.com/2009/02/16/that-is-life/</link>
		<comments>http://sureshk37.wordpress.com/2009/02/16/that-is-life/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 09:55:05 +0000</pubDate>
		<dc:creator>sureshk37</dc:creator>
				<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://sureshk37.wordpress.com/?p=92</guid>
		<description><![CDATA[God created the donkeyand said to him. &#8220;You will be a donkey. You will work un-tiringly from sunrise to sunset carrying burdens on your back. You will eat grass, you will have no intelligence and you will live 50 years.&#8221; The donkey answered: &#8220;I will be a donkey, but to live 50years is much. Give [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=92&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>God created the donkeyand said to him.<br />
&#8220;You will be a donkey. You will work un-tiringly from sunrise to sunset<br />
carrying burdens on your back. You will eat grass,<br />
you will have no intelligence and you will live 50 years.&#8221;<br />
The donkey answered:<br />
&#8220;I will be a donkey, but to live 50years is much. Give me only 20years&#8221;<br />
God granted his wish.<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</p>
<p>God created the dog</p>
<p>and said to him:<br />
&#8220;You will guard the house of man. You will be his best Friend.<br />
You will eat the scraps that he gives you and<br />
you will live 30years.<br />
You will be a dog. &#8220;<br />
The dog answered:<br />
&#8220;Sir, to live 30years is too much,give me only15 years.<br />
&#8221; God granted his wish.<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
God created the monkey</p>
<p>and said to him:<br />
&#8220;You will be a monkey. You will swing from branch to branch doing tricks.<br />
You will be amusing and you will live<br />
20 years. &#8220;<br />
The monkey<br />
answered:<br />
&#8220;To live 20years is too much, give me only 10years.&#8221;<br />
God granted his wish.<br />
&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br />
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</p>
<p>Finally God created man&#8230;</p>
<p>and said to him:<br />
&#8220;You will be man, the only rational creature on the face of the earth.<br />
You will use your intelligence to become master over all the animals.<br />
You will dominate the world and you will live 20years.&#8221;</p>
<p>Man responded:<br />
&#8220;Sir, I will be a man but to live only<br />
20 years is very little,<br />
give me the 30years that the donkey refused,<br />
the 15years that the dog did not want and<br />
the 10years the monkey refused.<br />
&#8221; God granted man&#8217;s wish &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.</p>
<p>And since then, man lives<br />
20 years as a man ,</p>
<p>marries and spends<br />
30 years like a donkey,<br />
working and carrying all the burdens on his back.</p>
<p>Then when his children are grown,<br />
he lives 15years like a dog taking care of the house<br />
and eating whatever is given to him,</p>
<p>so that when he is old,<br />
he can retire and live 10years like a monkey,<br />
going from house to house and from one son or<br />
daughter to another doing tricks to amuse his grandchildren.</p>
<p>That&#8217;s Life. .</p>
<p>__._,_.___</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sureshk37.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sureshk37.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sureshk37.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sureshk37.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sureshk37.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sureshk37.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sureshk37.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sureshk37.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sureshk37.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sureshk37.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sureshk37.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sureshk37.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sureshk37.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sureshk37.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=92&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sureshk37.wordpress.com/2009/02/16/that-is-life/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5544cc5af46c79188e79703b6c4857e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sureshk37</media:title>
		</media:content>
	</item>
		<item>
		<title>Address proof card</title>
		<link>http://sureshk37.wordpress.com/2009/02/16/address-proof-card/</link>
		<comments>http://sureshk37.wordpress.com/2009/02/16/address-proof-card/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 09:49:48 +0000</pubDate>
		<dc:creator>sureshk37</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://sureshk37.wordpress.com/?p=89</guid>
		<description><![CDATA[Many working people often shift their houses. For them, it is difficult to produce an address proof issued by Govt with latest address. Our India post (post office) has come up with a solution. Now you can get an Address proof along with your photo from India post. Since the ID proof is issued by [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=89&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many working people often shift their houses. For  them, it is difficult<br />
to produce an address proof issued by Govt with latest  address.<br />
Our India post (post office) has come up  with a solution.</p>
<p>Now you can get an Address proof along with your photo  from India post.<br />
Since the ID proof is  issued by India post which is a central  government<br />
organization, it is similar to Govt ID cards like Driving  license,<br />
Voters ID etc. It can be used for opening bank accounts, for  getting<br />
telephone/internet connections etc.</p>
<p>The total cost for  getting this ID card is Rs.250/ (Rs.10 for<br />
application and Rs.240/-  processing fee).</p>
<p>Inform everybody. This is very useful</p>
<p>For more  details enquire in the nearest post office.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sureshk37.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sureshk37.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sureshk37.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sureshk37.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sureshk37.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sureshk37.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sureshk37.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sureshk37.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sureshk37.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sureshk37.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sureshk37.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sureshk37.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sureshk37.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sureshk37.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=89&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sureshk37.wordpress.com/2009/02/16/address-proof-card/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5544cc5af46c79188e79703b6c4857e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sureshk37</media:title>
		</media:content>
	</item>
		<item>
		<title>How to inlude a HTML file within another HTML?</title>
		<link>http://sureshk37.wordpress.com/2009/01/27/how-to-inlude-a-html-file-within-another-html/</link>
		<comments>http://sureshk37.wordpress.com/2009/01/27/how-to-inlude-a-html-file-within-another-html/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 10:08:27 +0000</pubDate>
		<dc:creator>sureshk37</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://sureshk37.wordpress.com/?p=84</guid>
		<description><![CDATA[There are two ways to include HTML file within another. 1) Server Side Includes (SSI) 2) Client Side Includes Server Side Includes For server side includes we need to do following steps, (of course you need a web server to do the same..i.e Apache) i) You need to enable the following extension options in apache [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=84&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There are two ways to include HTML file within another.</p>
<p>1) Server Side Includes (SSI)</p>
<p>2) Client Side Includes</p>
<p><strong>Server Side Includes</strong></p>
<p>For server side includes we need to do following steps,</p>
<p>(of course you need a web server to do the same..i.e Apache)</p>
<p>i) You need to enable the following extension options in apache configuration file (httpd.conf)</p>
<p>AddType text/html .shtml<br />
AddOutputFilter INCLUDES .shtml</p>
<p>ii) Need to define Options in Directory directive.</p>
<p>Options +Includes</p>
<p>iii) The main html file name should be in .shtml extension. Lets say main.shtml</p>
<p>iv) Use the following syntax to include html file in main.shtml</p>
<p>&lt;!&#8211;#include file=&#8221;another.html&#8221; &#8211;&gt;</p>
<p><strong>Client Side Includes</strong></p>
<p>We dont have any specific syntax for client side includes.</p>
<p>Using javascript we can include the html file.</p>
<p>Lets assume that header.js contains the header information of the page. So we can include header.js like</p>
<p><code>&lt;script language="javascript" src="header.js"&gt; </code></p>
<p>How ever we can use frame and iframe for include the html file within another.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sureshk37.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sureshk37.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sureshk37.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sureshk37.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/sureshk37.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/sureshk37.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/sureshk37.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/sureshk37.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sureshk37.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sureshk37.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sureshk37.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sureshk37.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sureshk37.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sureshk37.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sureshk37.wordpress.com&amp;blog=2205478&amp;post=84&amp;subd=sureshk37&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sureshk37.wordpress.com/2009/01/27/how-to-inlude-a-html-file-within-another-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d5544cc5af46c79188e79703b6c4857e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">sureshk37</media:title>
		</media:content>
	</item>
	</channel>
</rss>
