<?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>Classifieds Scripts, Web Scripts,  Ajax Scripts, PHP Scripts, ASP Scripts</title>
	<atom:link href="http://www.scriptclassifieds.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.scriptclassifieds.com</link>
	<description>AJAX, PHP Scripts, ASP Scripts, Ad Management, Bookmark Management, Database Tools, Chat Scripts, HTML Editors, Classified Ads Scripts, Classifieds Script</description>
	<lastBuildDate>Sat, 28 Jan 2012 09:35:03 +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 RegExp Object</title>
		<link>http://www.scriptclassifieds.com/javascript/javascript-regexp-object/</link>
		<comments>http://www.scriptclassifieds.com/javascript/javascript-regexp-object/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 09:35:03 +0000</pubDate>
		<dc:creator>thanhlangtu</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[highly object oriented]]></category>
		<category><![CDATA[RegExp]]></category>

		<guid isPermaLink="false">http://www.scriptclassifieds.com/?p=1151</guid>
		<description><![CDATA[<a href="http://www.scriptclassifieds.com/javascript/javascript-regexp-object/"><img align="left" hspace="5" width="100" height="100" src="http://www.scriptclassifieds.com/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>RegExp, is short for regular expression. Complete RegExp Object Reference For a complete reference of all the properties and methods that can be used with the RegExp object, go to our complete RegExp object reference. The reference contains a brief description and examples of use for each property and method! What is RegExp? A regular expression [...]]]></description>
			<content:encoded><![CDATA[<p>RegExp, is short for regular expression.</p>
<hr />
<h2>Complete RegExp Object Reference</h2>
<p>For a complete reference of all the properties and methods that can be used with the RegExp object, go to our complete RegExp object reference.</p>
<p>The reference contains a brief description and examples of use for each property and method!</p>
<hr />
<h2>What is RegExp?</h2>
<p>A regular expression is an object that describes a pattern of characters.</p>
<p>When you search in a text, you can use a pattern to describe what you are searching for.</p>
<p>A simple pattern can be one single character.</p>
<p>A more complicated pattern can consist of more characters, and can be used for parsing, format checking, substitution and more.</p>
<p>Regular expressions are used to perform powerful pattern-matching and &#8220;search-and-replace&#8221; functions on text.</p>
<h2>Syntax</h2>
<div>
<div>var patt=new RegExp(pattern,modifiers);</p>
<p>or more simply:</p>
<p>var patt=/pattern/modifiers;</p></div>
</div>
<ul>
<li>pattern specifies the pattern of an expression</li>
<li>modifiers specify if a search should be global, case-sensitive, etc.</li>
</ul>
<hr />
<h2>RegExp Modifiers</h2>
<p>Modifiers are used to perform case-insensitive and global searches.</p>
<p>The i modifier is used to perform case-insensitive matching.</p>
<p>The g modifier is used to perform a global match (find all matches rather than stopping after the first match).</p>
<div>
<h2>Example 1</h2>
<p>Do a case-insensitive search for &#8220;w3schools&#8221; in a string:</p>
<div>var str=&#8221;Visit W3Schools&#8221;;<br />
var patt1=/w3schools/i;</div>
<p>The marked text below shows where the expression gets a match:</p>
<div>Visit W3Schools</div>
<p>Try it yourself »</p></div>
<p>&nbsp;</p>
<div>
<h2>Example 2</h2>
<p>Do a global search for &#8220;is&#8221;:</p>
<div>var str=&#8221;Is this all there is?&#8221;;<br />
var patt1=/is/g;</div>
<p>The marked text below shows where the expression gets a match:</p>
<div>Is this all there is?</div>
<p>Try it yourself »</p></div>
<p>&nbsp;</p>
<div>
<h2>Example 3</h2>
<p>Do a global, case-insensitive search for &#8220;is&#8221;:</p>
<div>var str=&#8221;Is this all there is?&#8221;;<br />
var patt1=/is/gi;</div>
<p>The marked text below shows where the expression gets a match:</p>
<div>Is this all there is?</div>
<p>Try it yourself »</p></div>
<p>&nbsp;</p>
<hr />
<h2>test()</h2>
<p>The test() method searches a string for a specified value, and returns true or false, depending on the result.</p>
<p>The following example searches a string for the character &#8220;e&#8221;:</p>
<div>
<h2>Example</h2>
<div>var patt1=new RegExp(&#8220;e&#8221;);<br />
document.write(patt1.test(&#8220;The best things in life are free&#8221;));</div>
<p>Since there is an &#8220;e&#8221; in the string, the output of the code above will be:</p>
<div>true</div>
<p>Try it yourself »</p></div>
<p>&nbsp;</p>
<hr />
<h2>exec()</h2>
<p>The exec() method searches a string for a specified value, and returns the text of the found value. If no match is found, it returns <em>null.</em></p>
<p>The following example searches a string for the character &#8220;e&#8221;:</p>
<div>
<h2>Example 1</h2>
<div>var patt1=new RegExp(&#8220;e&#8221;);<br />
document.write(patt1.exec(&#8220;The best things in life are free&#8221;));</div>
<p>Since there is an &#8220;e&#8221; in the string, the output of the code above will be:</p>
<div>e</div>
</div>
<p>source form: <a href="http://www.w3schools.com/">w3schools</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;title=JavaScript%20RegExp%20Object%20%20&amp;bodytext=RegExp%2C%20is%20short%20for%20regular%20expression.%0D%0A%0D%0A%0D%0A%0D%0AComplete%20RegExp%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20RegExp%20object%2C%20go%20to%20our%C2%A0complete%20RegExp%20object%20reference.%0D%0A%0D%0AThe%20reference%20contai" title="Digg"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F" title="Sphinn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;title=JavaScript%20RegExp%20Object%20%20&amp;notes=RegExp%2C%20is%20short%20for%20regular%20expression.%0D%0A%0D%0A%0D%0A%0D%0AComplete%20RegExp%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20RegExp%20object%2C%20go%20to%20our%C2%A0complete%20RegExp%20object%20reference.%0D%0A%0D%0AThe%20reference%20contai" title="del.icio.us"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;t=JavaScript%20RegExp%20Object%20%20" title="Facebook"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;title=JavaScript%20RegExp%20Object%20%20" title="Mixx"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;title=JavaScript%20RegExp%20Object%20%20&amp;annotation=RegExp%2C%20is%20short%20for%20regular%20expression.%0D%0A%0D%0A%0D%0A%0D%0AComplete%20RegExp%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20RegExp%20object%2C%20go%20to%20our%C2%A0complete%20RegExp%20object%20reference.%0D%0A%0D%0AThe%20reference%20contai" title="Google Bookmarks"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.diigo.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;title=JavaScript%20RegExp%20Object%20%20" title="Diigo"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;title=JavaScript%20RegExp%20Object%20%20" title="DZone"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" /></a>
	<a rel="nofollow"  target="_blank" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=JavaScript%20RegExp%20Object%20%20&amp;u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F" title="Fark"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" /></a>
	<a rel="nofollow"  target="_blank" href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;title=JavaScript%20RegExp%20Object%20%20" title="Faves"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" /></a>
	<a rel="nofollow"  target="_blank" href="http://laaik.it/NewStoryCompact.aspx?uri=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;headline=JavaScript%20RegExp%20Object%20%20&amp;cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12" title="laaik.it"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/laaikit.png" title="laaik.it" alt="laaik.it" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;title=JavaScript%20RegExp%20Object%20%20&amp;source=Classifieds+Scripts%2C+Web+Scripts%2C++Ajax+Scripts%2C+PHP+Scripts%2C+ASP+Scripts+AJAX%2C+PHP+Scripts%2C+ASP+Scripts%2C+Ad+Management%2C+Bookmark+Management%2C+Database+Tools%2C+Chat+Scripts%2C+HTML+Editors%2C+Classified+Ads+Scripts%2C+Classifieds+Script&amp;summary=RegExp%2C%20is%20short%20for%20regular%20expression.%0D%0A%0D%0A%0D%0A%0D%0AComplete%20RegExp%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20RegExp%20object%2C%20go%20to%20our%C2%A0complete%20RegExp%20object%20reference.%0D%0A%0D%0AThe%20reference%20contai" title="LinkedIn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;title=JavaScript%20RegExp%20Object%20%20" title="Live"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;bm_description=JavaScript%20RegExp%20Object%20%20&amp;plugin=soc" title="MisterWong"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;t=JavaScript%20RegExp%20Object%20%20" title="MySpace"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=JavaScript%20RegExp%20Object%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F" title="Netvibes"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;title=JavaScript%20RegExp%20Object%20%20&amp;popup=no" title="Netvouz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;h=JavaScript%20RegExp%20Object%20%20" title="NewsVine"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.propeller.com/submit/?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F" title="Propeller"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/propeller.png" title="Propeller" alt="Propeller" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;title=JavaScript%20RegExp%20Object%20%20" title="Reddit"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=JavaScript%20RegExp%20Object%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F" title="Slashdot"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;story_title=JavaScript%20RegExp%20Object%20%20" title="Socialogs"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;title=JavaScript%20RegExp%20Object%20%20" title="StumbleUpon"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F" title="Technorati"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=JavaScript%20RegExp%20Object%20%20%20-%20http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F" title="Twitter"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-regexp-object%2F&amp;submitHeadline=JavaScript%20RegExp%20Object%20%20&amp;submitSummary=RegExp%2C%20is%20short%20for%20regular%20expression.%0D%0A%0D%0A%0D%0A%0D%0AComplete%20RegExp%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20RegExp%20object%2C%20go%20to%20our%C2%A0complete%20RegExp%20object%20reference.%0D%0A%0D%0AThe%20reference%20contai&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.scriptclassifieds.com/javascript/javascript-regexp-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Math Object</title>
		<link>http://www.scriptclassifieds.com/javascript/javascript-math-object/</link>
		<comments>http://www.scriptclassifieds.com/javascript/javascript-math-object/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 09:34:38 +0000</pubDate>
		<dc:creator>thanhlangtu</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Object]]></category>

		<guid isPermaLink="false">http://www.scriptclassifieds.com/?p=1150</guid>
		<description><![CDATA[<a href="http://www.scriptclassifieds.com/javascript/javascript-math-object/"><img align="left" hspace="5" width="100" height="100" src="http://www.scriptclassifieds.com/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Complete Math Object Reference For a complete reference of all the properties and methods that can be used with the Math object, go to our complete Math object reference. The reference contains a brief description and examples of use for each property and method! Math Object The Math object allows you to perform mathematical tasks. The [...]]]></description>
			<content:encoded><![CDATA[<h2>Complete Math Object Reference</h2>
<p>For a complete reference of all the properties and methods that can be used with the Math object, go to our complete Math object reference.</p>
<p>The reference contains a brief description and examples of use for each property and method!</p>
<hr />
<h2>Math Object</h2>
<p>The Math object allows you to perform mathematical tasks.</p>
<p>The Math object includes several mathematical constants and methods.</p>
<p><strong>Syntax for using properties/methods of Math:</strong></p>
<div>
<div>var x=Math.PI;<br />
var y=Math.sqrt(16);</div>
</div>
<p><strong>Note:</strong> Math is not a constructor. All properties and methods of Math can be called by using Math as an object without creating it.</p>
<hr />
<h2>Mathematical Constants</h2>
<p>JavaScript provides eight mathematical constants that can be accessed from the Math object. These are: E, PI, square root of 2, square root of 1/2, natural log of 2, natural log of 10, base-2 log of E, and base-10 log of E.</p>
<p>You may reference these constants from your JavaScript like this:</p>
<div>
<div>Math.E<br />
Math.PI<br />
Math.SQRT2<br />
Math.SQRT1_2<br />
Math.LN2<br />
Math.LN10<br />
Math.LOG2E<br />
Math.LOG10E</div>
</div>
<p>&nbsp;</p>
<hr />
<h2>Mathematical Methods</h2>
<p>In addition to the mathematical constants that can be accessed from the Math object there are also several methods available.</p>
<p>The following example uses the round() method of the Math object to round a number to the nearest integer:</p>
<div>
<div>document.write(Math.round(4.7));</div>
</div>
<p>The code above will result in the following output:</p>
<div>
<div>5</div>
</div>
<p>The following example uses the random() method of the Math object to return a random number between 0 and 1:</p>
<div>
<div>document.write(Math.random());</div>
</div>
<p>The code above can result in the following output:</p>
<div>
<div>0.14280927344225347</div>
</div>
<p>The following example uses the floor() and random() methods of the Math object to return a random number between 0 and 10:</p>
<div>
<div>document.write(Math.floor(Math.random()*11));</div>
</div>
<p>The code above can result in the following output:</p>
<div>
<div>8</div>
</div>
<p>source form: <a href="http://www.w3schools.com/">w3schools</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;title=JavaScript%20Math%20Object%20%20&amp;bodytext=Complete%20Math%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Math%20object%2C%20go%20to%20our%C2%A0complete%20Math%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each%20pr" title="Digg"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F" title="Sphinn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;title=JavaScript%20Math%20Object%20%20&amp;notes=Complete%20Math%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Math%20object%2C%20go%20to%20our%C2%A0complete%20Math%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each%20pr" title="del.icio.us"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;t=JavaScript%20Math%20Object%20%20" title="Facebook"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;title=JavaScript%20Math%20Object%20%20" title="Mixx"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;title=JavaScript%20Math%20Object%20%20&amp;annotation=Complete%20Math%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Math%20object%2C%20go%20to%20our%C2%A0complete%20Math%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each%20pr" title="Google Bookmarks"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.diigo.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;title=JavaScript%20Math%20Object%20%20" title="Diigo"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;title=JavaScript%20Math%20Object%20%20" title="DZone"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" /></a>
	<a rel="nofollow"  target="_blank" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=JavaScript%20Math%20Object%20%20&amp;u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F" title="Fark"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" /></a>
	<a rel="nofollow"  target="_blank" href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;title=JavaScript%20Math%20Object%20%20" title="Faves"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" /></a>
	<a rel="nofollow"  target="_blank" href="http://laaik.it/NewStoryCompact.aspx?uri=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;headline=JavaScript%20Math%20Object%20%20&amp;cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12" title="laaik.it"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/laaikit.png" title="laaik.it" alt="laaik.it" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;title=JavaScript%20Math%20Object%20%20&amp;source=Classifieds+Scripts%2C+Web+Scripts%2C++Ajax+Scripts%2C+PHP+Scripts%2C+ASP+Scripts+AJAX%2C+PHP+Scripts%2C+ASP+Scripts%2C+Ad+Management%2C+Bookmark+Management%2C+Database+Tools%2C+Chat+Scripts%2C+HTML+Editors%2C+Classified+Ads+Scripts%2C+Classifieds+Script&amp;summary=Complete%20Math%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Math%20object%2C%20go%20to%20our%C2%A0complete%20Math%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each%20pr" title="LinkedIn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;title=JavaScript%20Math%20Object%20%20" title="Live"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;bm_description=JavaScript%20Math%20Object%20%20&amp;plugin=soc" title="MisterWong"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;t=JavaScript%20Math%20Object%20%20" title="MySpace"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=JavaScript%20Math%20Object%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F" title="Netvibes"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;title=JavaScript%20Math%20Object%20%20&amp;popup=no" title="Netvouz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;h=JavaScript%20Math%20Object%20%20" title="NewsVine"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.propeller.com/submit/?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F" title="Propeller"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/propeller.png" title="Propeller" alt="Propeller" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;title=JavaScript%20Math%20Object%20%20" title="Reddit"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=JavaScript%20Math%20Object%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F" title="Slashdot"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;story_title=JavaScript%20Math%20Object%20%20" title="Socialogs"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;title=JavaScript%20Math%20Object%20%20" title="StumbleUpon"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F" title="Technorati"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=JavaScript%20Math%20Object%20%20%20-%20http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F" title="Twitter"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-math-object%2F&amp;submitHeadline=JavaScript%20Math%20Object%20%20&amp;submitSummary=Complete%20Math%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Math%20object%2C%20go%20to%20our%C2%A0complete%20Math%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each%20pr&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.scriptclassifieds.com/javascript/javascript-math-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Boolean Object</title>
		<link>http://www.scriptclassifieds.com/javascript/javascript-boolean-object/</link>
		<comments>http://www.scriptclassifieds.com/javascript/javascript-boolean-object/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 09:34:18 +0000</pubDate>
		<dc:creator>thanhlangtu</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Boolean]]></category>
		<category><![CDATA[Object]]></category>

		<guid isPermaLink="false">http://www.scriptclassifieds.com/?p=1149</guid>
		<description><![CDATA[<a href="http://www.scriptclassifieds.com/javascript/javascript-boolean-object/"><img align="left" hspace="5" width="100" height="100" src="http://www.scriptclassifieds.com/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Complete Boolean Object Reference For a complete reference of all the properties and methods that can be used with the Boolean object, go to our complete Boolean object reference. The reference contains a brief description and examples of use for each property and method! Create a Boolean Object The Boolean object represents two values: &#8220;true&#8221; or [...]]]></description>
			<content:encoded><![CDATA[<h2>Complete Boolean Object Reference</h2>
<p>For a complete reference of all the properties and methods that can be used with the Boolean object, go to our complete Boolean object reference.</p>
<p>The reference contains a brief description and examples of use for each property and method!</p>
<hr />
<h2>Create a Boolean Object</h2>
<p>The Boolean object represents two values: &#8220;true&#8221; or &#8220;false&#8221;.</p>
<p>The following code creates a Boolean object called myBoolean:</p>
<div>
<div>var myBoolean=new Boolean();</div>
</div>
<p>If the Boolean object has no initial value, or if the passed value is one of the following:</p>
<ul>
<li>0</li>
<li>-0</li>
<li>null</li>
<li>&#8220;&#8221;</li>
<li>false</li>
<li>undefined</li>
<li>NaN</li>
</ul>
<p>the object is set to false. For any other value it is set to true (even with the string &#8220;false&#8221;)!</p>
<p>source form: <a href="http://www.w3schools.com/">w3schools</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;title=JavaScript%20Boolean%20Object%20%20&amp;bodytext=Complete%20Boolean%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Boolean%20object%2C%20go%20to%20our%C2%A0complete%20Boolean%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20fo" title="Digg"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F" title="Sphinn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;title=JavaScript%20Boolean%20Object%20%20&amp;notes=Complete%20Boolean%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Boolean%20object%2C%20go%20to%20our%C2%A0complete%20Boolean%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20fo" title="del.icio.us"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;t=JavaScript%20Boolean%20Object%20%20" title="Facebook"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;title=JavaScript%20Boolean%20Object%20%20" title="Mixx"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;title=JavaScript%20Boolean%20Object%20%20&amp;annotation=Complete%20Boolean%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Boolean%20object%2C%20go%20to%20our%C2%A0complete%20Boolean%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20fo" title="Google Bookmarks"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.diigo.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;title=JavaScript%20Boolean%20Object%20%20" title="Diigo"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;title=JavaScript%20Boolean%20Object%20%20" title="DZone"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" /></a>
	<a rel="nofollow"  target="_blank" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=JavaScript%20Boolean%20Object%20%20&amp;u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F" title="Fark"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" /></a>
	<a rel="nofollow"  target="_blank" href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;title=JavaScript%20Boolean%20Object%20%20" title="Faves"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" /></a>
	<a rel="nofollow"  target="_blank" href="http://laaik.it/NewStoryCompact.aspx?uri=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;headline=JavaScript%20Boolean%20Object%20%20&amp;cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12" title="laaik.it"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/laaikit.png" title="laaik.it" alt="laaik.it" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;title=JavaScript%20Boolean%20Object%20%20&amp;source=Classifieds+Scripts%2C+Web+Scripts%2C++Ajax+Scripts%2C+PHP+Scripts%2C+ASP+Scripts+AJAX%2C+PHP+Scripts%2C+ASP+Scripts%2C+Ad+Management%2C+Bookmark+Management%2C+Database+Tools%2C+Chat+Scripts%2C+HTML+Editors%2C+Classified+Ads+Scripts%2C+Classifieds+Script&amp;summary=Complete%20Boolean%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Boolean%20object%2C%20go%20to%20our%C2%A0complete%20Boolean%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20fo" title="LinkedIn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;title=JavaScript%20Boolean%20Object%20%20" title="Live"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;bm_description=JavaScript%20Boolean%20Object%20%20&amp;plugin=soc" title="MisterWong"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;t=JavaScript%20Boolean%20Object%20%20" title="MySpace"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=JavaScript%20Boolean%20Object%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F" title="Netvibes"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;title=JavaScript%20Boolean%20Object%20%20&amp;popup=no" title="Netvouz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;h=JavaScript%20Boolean%20Object%20%20" title="NewsVine"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.propeller.com/submit/?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F" title="Propeller"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/propeller.png" title="Propeller" alt="Propeller" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;title=JavaScript%20Boolean%20Object%20%20" title="Reddit"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=JavaScript%20Boolean%20Object%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F" title="Slashdot"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;story_title=JavaScript%20Boolean%20Object%20%20" title="Socialogs"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;title=JavaScript%20Boolean%20Object%20%20" title="StumbleUpon"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F" title="Technorati"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=JavaScript%20Boolean%20Object%20%20%20-%20http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F" title="Twitter"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-boolean-object%2F&amp;submitHeadline=JavaScript%20Boolean%20Object%20%20&amp;submitSummary=Complete%20Boolean%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Boolean%20object%2C%20go%20to%20our%C2%A0complete%20Boolean%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20fo&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.scriptclassifieds.com/javascript/javascript-boolean-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Array Object</title>
		<link>http://www.scriptclassifieds.com/javascript/javascript-array-object/</link>
		<comments>http://www.scriptclassifieds.com/javascript/javascript-array-object/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 09:33:52 +0000</pubDate>
		<dc:creator>thanhlangtu</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Array Object]]></category>

		<guid isPermaLink="false">http://www.scriptclassifieds.com/?p=1148</guid>
		<description><![CDATA[<a href="http://www.scriptclassifieds.com/javascript/javascript-array-object/"><img align="left" hspace="5" width="100" height="100" src="http://www.scriptclassifieds.com/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Complete Array Object Reference For a complete reference of all the properties and methods that can be used with the Array object, go to our complete Array object reference. The reference contains a brief description and examples of use for each property and method! What is an Array? An array is a special variable, which can [...]]]></description>
			<content:encoded><![CDATA[<h2>Complete Array Object Reference</h2>
<p>For a complete reference of all the properties and methods that can be used with the Array object, go to our complete Array object reference.</p>
<p>The reference contains a brief description and examples of use for each property and method!</p>
<hr />
<h2>What is an Array?</h2>
<p>An array is a special variable, which can hold more than one value, at a time.</p>
<p>If you have a list of items (a list of car names, for example), storing the cars in single variables could look like this:</p>
<div>
<div>var car1=&#8221;Saab&#8221;;<br />
var car2=&#8221;Volvo&#8221;;<br />
var car3=&#8221;BMW&#8221;;</div>
</div>
<p>However, what if you want to loop through the cars and find a specific one? And what if you had not 3 cars, but 300?</p>
<p>The best solution here is to use an array!</p>
<p>An array can hold all your variable values under a single name. And you can access the values by referring to the array name.</p>
<p>Each element in the array has its own ID so that it can be easily accessed.</p>
<hr />
<h2>Create an Array</h2>
<p>An array can be defined in three ways.</p>
<p>The following code creates an Array object called myCars:</p>
<p>1:</p>
<div>
<div>var myCars=new Array(); // regular array (add an optional integer<br />
myCars[0]=&#8221;Saab&#8221;;       // argument to control array&#8217;s size)<br />
myCars[1]=&#8221;Volvo&#8221;;<br />
myCars[2]=&#8221;BMW&#8221;;</div>
</div>
<p>2:</p>
<div>
<div>var myCars=new Array(&#8220;Saab&#8221;,&#8221;Volvo&#8221;,&#8221;BMW&#8221;); // condensed array</div>
</div>
<p>3:</p>
<div>
<div>var myCars=["Saab","Volvo","BMW"]; // literal array</div>
</div>
<p><strong>Note:</strong> If you specify numbers or true/false values inside the array then the variable type will be Number or Boolean, instead of String.</p>
<hr />
<h2>Access an Array</h2>
<p>You can refer to a particular element in an array by referring to the name of the array and the index number. The index number starts at 0.</p>
<p>The following code line:</p>
<div>
<div>document.write(myCars[0]);</div>
</div>
<p>will result in the following output:</p>
<div>
<div>Saab</div>
</div>
<p>&nbsp;</p>
<hr />
<h2>Modify Values in an Array</h2>
<p>To modify a value in an existing array, just add a new value to the array with a specified index number:</p>
<div>
<div>myCars[0]=&#8221;Opel&#8221;;</div>
</div>
<p>Now, the following code line:</p>
<div>
<div>document.write(myCars[0]);</div>
</div>
<p>will result in the following output:</p>
<div>
<div>Opel</div>
</div>
<p>source form: <a href="http://www.w3schools.com/">w3schools</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;title=JavaScript%20Array%20Object%20%20&amp;bodytext=Complete%20Array%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Array%20object%2C%20go%20to%20our%C2%A0complete%20Array%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each" title="Digg"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F" title="Sphinn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;title=JavaScript%20Array%20Object%20%20&amp;notes=Complete%20Array%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Array%20object%2C%20go%20to%20our%C2%A0complete%20Array%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each" title="del.icio.us"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;t=JavaScript%20Array%20Object%20%20" title="Facebook"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;title=JavaScript%20Array%20Object%20%20" title="Mixx"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;title=JavaScript%20Array%20Object%20%20&amp;annotation=Complete%20Array%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Array%20object%2C%20go%20to%20our%C2%A0complete%20Array%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each" title="Google Bookmarks"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.diigo.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;title=JavaScript%20Array%20Object%20%20" title="Diigo"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;title=JavaScript%20Array%20Object%20%20" title="DZone"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" /></a>
	<a rel="nofollow"  target="_blank" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=JavaScript%20Array%20Object%20%20&amp;u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F" title="Fark"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" /></a>
	<a rel="nofollow"  target="_blank" href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;title=JavaScript%20Array%20Object%20%20" title="Faves"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" /></a>
	<a rel="nofollow"  target="_blank" href="http://laaik.it/NewStoryCompact.aspx?uri=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;headline=JavaScript%20Array%20Object%20%20&amp;cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12" title="laaik.it"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/laaikit.png" title="laaik.it" alt="laaik.it" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;title=JavaScript%20Array%20Object%20%20&amp;source=Classifieds+Scripts%2C+Web+Scripts%2C++Ajax+Scripts%2C+PHP+Scripts%2C+ASP+Scripts+AJAX%2C+PHP+Scripts%2C+ASP+Scripts%2C+Ad+Management%2C+Bookmark+Management%2C+Database+Tools%2C+Chat+Scripts%2C+HTML+Editors%2C+Classified+Ads+Scripts%2C+Classifieds+Script&amp;summary=Complete%20Array%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Array%20object%2C%20go%20to%20our%C2%A0complete%20Array%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each" title="LinkedIn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;title=JavaScript%20Array%20Object%20%20" title="Live"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;bm_description=JavaScript%20Array%20Object%20%20&amp;plugin=soc" title="MisterWong"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;t=JavaScript%20Array%20Object%20%20" title="MySpace"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=JavaScript%20Array%20Object%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F" title="Netvibes"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;title=JavaScript%20Array%20Object%20%20&amp;popup=no" title="Netvouz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;h=JavaScript%20Array%20Object%20%20" title="NewsVine"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.propeller.com/submit/?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F" title="Propeller"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/propeller.png" title="Propeller" alt="Propeller" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;title=JavaScript%20Array%20Object%20%20" title="Reddit"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=JavaScript%20Array%20Object%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F" title="Slashdot"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;story_title=JavaScript%20Array%20Object%20%20" title="Socialogs"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;title=JavaScript%20Array%20Object%20%20" title="StumbleUpon"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F" title="Technorati"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=JavaScript%20Array%20Object%20%20%20-%20http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F" title="Twitter"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-array-object%2F&amp;submitHeadline=JavaScript%20Array%20Object%20%20&amp;submitSummary=Complete%20Array%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Array%20object%2C%20go%20to%20our%C2%A0complete%20Array%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.scriptclassifieds.com/javascript/javascript-array-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Date Object</title>
		<link>http://www.scriptclassifieds.com/javascript/javascript-date-object/</link>
		<comments>http://www.scriptclassifieds.com/javascript/javascript-date-object/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 09:33:20 +0000</pubDate>
		<dc:creator>thanhlangtu</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Date Object]]></category>

		<guid isPermaLink="false">http://www.scriptclassifieds.com/?p=1147</guid>
		<description><![CDATA[<a href="http://www.scriptclassifieds.com/javascript/javascript-date-object/"><img align="left" hspace="5" width="100" height="100" src="http://www.scriptclassifieds.com/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Complete Date Object Reference For a complete reference of all the properties and methods that can be used with the Date object, go to our complete Date object reference. The reference contains a brief description and examples of use for each property and method! Create a Date Object The Date object is used to work with [...]]]></description>
			<content:encoded><![CDATA[<h2>Complete Date Object Reference</h2>
<p>For a complete reference of all the properties and methods that can be used with the Date object, go to our complete Date object reference.</p>
<p>The reference contains a brief description and examples of use for each property and method!</p>
<hr />
<h2>Create a Date Object</h2>
<p>The Date object is used to work with dates and times.</p>
<p>Date objects are created with the Date() constructor.</p>
<p>There are four ways of instantiating a date:</p>
<div>
<div>new Date() // current date and time<br />
new Date(milliseconds) //milliseconds since 1970/01/01<br />
new Date(dateString)<br />
new Date(year, month, day, hours, minutes, seconds, milliseconds)</div>
</div>
<p>Most parameters above are optional. Not specifying, causes 0 to be passed in.</p>
<p>Once a Date object is created, a number of methods allow you to operate on it. Most methods allow you to get and set the year, month, day, hour, minute, second, and milliseconds of the object, using either local time or UTC (universal, or GMT) time.</p>
<p>All dates are calculated in milliseconds from 01 January, 1970 00:00:00 Universal Time (UTC) with a day containing 86,400,000 milliseconds.</p>
<p>Some examples of instantiating a date:</p>
<div>
<div>var today = new Date()<br />
var d1 = new Date(&#8220;October 13, 1975 11:13:00&#8243;)<br />
var d2 = new Date(79,5,24)<br />
var d3 = new Date(79,5,24,11,33,0)</div>
</div>
<p>&nbsp;</p>
<hr />
<h2>Set Dates</h2>
<p>We can easily manipulate the date by using the methods available for the Date object.</p>
<p>In the example below we set a Date object to a specific date (14th January 2010):</p>
<div>
<div>var myDate=new Date();<br />
myDate.setFullYear(2010,0,14);</div>
</div>
<p>And in the following example we set a Date object to be 5 days into the future:</p>
<div>
<div>var myDate=new Date();<br />
myDate.setDate(myDate.getDate()+5);</div>
</div>
<p><strong>Note:</strong> If adding five days to a date shifts the month or year, the changes are handled automatically by the Date object itself!</p>
<hr />
<h2>Compare Two Dates</h2>
<p>The Date object is also used to compare two dates.</p>
<p>The following example compares today&#8217;s date with the 14th January 2100:</p>
<div>
<div>var x=new Date();<br />
x.setFullYear(2100,0,14);<br />
var today = new Date();</p>
<p>if (x&gt;today)<br />
{<br />
alert(&#8220;Today is before 14th January 2100&#8243;);<br />
}<br />
else<br />
{<br />
alert(&#8220;Today is after 14th January 2100&#8243;);<br />
}</p></div>
</div>
<p>source form: <a href="http://www.w3schools.com/">w3schools</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;title=JavaScript%20Date%20Object%20%20&amp;bodytext=Complete%20Date%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Date%20object%2C%20go%20to%20our%C2%A0complete%20Date%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each%20pr" title="Digg"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F" title="Sphinn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;title=JavaScript%20Date%20Object%20%20&amp;notes=Complete%20Date%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Date%20object%2C%20go%20to%20our%C2%A0complete%20Date%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each%20pr" title="del.icio.us"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;t=JavaScript%20Date%20Object%20%20" title="Facebook"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;title=JavaScript%20Date%20Object%20%20" title="Mixx"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;title=JavaScript%20Date%20Object%20%20&amp;annotation=Complete%20Date%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Date%20object%2C%20go%20to%20our%C2%A0complete%20Date%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each%20pr" title="Google Bookmarks"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.diigo.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;title=JavaScript%20Date%20Object%20%20" title="Diigo"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;title=JavaScript%20Date%20Object%20%20" title="DZone"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" /></a>
	<a rel="nofollow"  target="_blank" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=JavaScript%20Date%20Object%20%20&amp;u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F" title="Fark"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" /></a>
	<a rel="nofollow"  target="_blank" href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;title=JavaScript%20Date%20Object%20%20" title="Faves"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" /></a>
	<a rel="nofollow"  target="_blank" href="http://laaik.it/NewStoryCompact.aspx?uri=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;headline=JavaScript%20Date%20Object%20%20&amp;cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12" title="laaik.it"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/laaikit.png" title="laaik.it" alt="laaik.it" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;title=JavaScript%20Date%20Object%20%20&amp;source=Classifieds+Scripts%2C+Web+Scripts%2C++Ajax+Scripts%2C+PHP+Scripts%2C+ASP+Scripts+AJAX%2C+PHP+Scripts%2C+ASP+Scripts%2C+Ad+Management%2C+Bookmark+Management%2C+Database+Tools%2C+Chat+Scripts%2C+HTML+Editors%2C+Classified+Ads+Scripts%2C+Classifieds+Script&amp;summary=Complete%20Date%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Date%20object%2C%20go%20to%20our%C2%A0complete%20Date%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each%20pr" title="LinkedIn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;title=JavaScript%20Date%20Object%20%20" title="Live"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;bm_description=JavaScript%20Date%20Object%20%20&amp;plugin=soc" title="MisterWong"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;t=JavaScript%20Date%20Object%20%20" title="MySpace"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=JavaScript%20Date%20Object%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F" title="Netvibes"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;title=JavaScript%20Date%20Object%20%20&amp;popup=no" title="Netvouz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;h=JavaScript%20Date%20Object%20%20" title="NewsVine"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.propeller.com/submit/?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F" title="Propeller"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/propeller.png" title="Propeller" alt="Propeller" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;title=JavaScript%20Date%20Object%20%20" title="Reddit"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=JavaScript%20Date%20Object%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F" title="Slashdot"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;story_title=JavaScript%20Date%20Object%20%20" title="Socialogs"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;title=JavaScript%20Date%20Object%20%20" title="StumbleUpon"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F" title="Technorati"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=JavaScript%20Date%20Object%20%20%20-%20http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F" title="Twitter"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-date-object%2F&amp;submitHeadline=JavaScript%20Date%20Object%20%20&amp;submitSummary=Complete%20Date%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20Date%20object%2C%20go%20to%20our%C2%A0complete%20Date%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20each%20pr&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.scriptclassifieds.com/javascript/javascript-date-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript String Object</title>
		<link>http://www.scriptclassifieds.com/javascript/javascript-string-object/</link>
		<comments>http://www.scriptclassifieds.com/javascript/javascript-string-object/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 09:32:49 +0000</pubDate>
		<dc:creator>thanhlangtu</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Object]]></category>
		<category><![CDATA[String]]></category>

		<guid isPermaLink="false">http://www.scriptclassifieds.com/?p=1146</guid>
		<description><![CDATA[<a href="http://www.scriptclassifieds.com/javascript/javascript-string-object/"><img align="left" hspace="5" width="100" height="100" src="http://www.scriptclassifieds.com/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Complete String Object Reference For a complete reference of all the properties and methods that can be used with the String object, go to our complete String object reference. The reference contains a brief description and examples of use for each property and method! String object The String object is used to manipulate a stored piece [...]]]></description>
			<content:encoded><![CDATA[<h2>Complete String Object Reference</h2>
<p>For a complete reference of all the properties and methods that can be used with the String object, go to our complete String object reference.</p>
<p>The reference contains a brief description and examples of use for each property and method!</p>
<hr />
<h2>String object</h2>
<p>The String object is used to manipulate a stored piece of text.</p>
<p><strong>Examples of use:</strong></p>
<p>The following example uses the length property of the String object to find the length of a string:</p>
<div>
<div>var txt=&#8221;Hello world!&#8221;;<br />
document.write(txt.length);</div>
</div>
<p>The code above will result in the following output:</p>
<div>
<div>12</div>
</div>
<p>The following example uses the toUpperCase() method of the String object to convert a string to uppercase letters:</p>
<div>
<div>var txt=&#8221;Hello world!&#8221;;<br />
document.write(txt.toUpperCase());</div>
</div>
<p>The code above will result in the following output:</p>
<div>
<div>HELLO WORLD!</div>
</div>
<p>source form: <a href="http://www.w3schools.com/">w3schools</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;title=JavaScript%20String%20Object%20%20&amp;bodytext=Complete%20String%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20String%20object%2C%20go%20to%20our%C2%A0complete%20String%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20e" title="Digg"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F" title="Sphinn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;title=JavaScript%20String%20Object%20%20&amp;notes=Complete%20String%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20String%20object%2C%20go%20to%20our%C2%A0complete%20String%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20e" title="del.icio.us"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;t=JavaScript%20String%20Object%20%20" title="Facebook"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;title=JavaScript%20String%20Object%20%20" title="Mixx"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;title=JavaScript%20String%20Object%20%20&amp;annotation=Complete%20String%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20String%20object%2C%20go%20to%20our%C2%A0complete%20String%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20e" title="Google Bookmarks"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.diigo.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;title=JavaScript%20String%20Object%20%20" title="Diigo"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;title=JavaScript%20String%20Object%20%20" title="DZone"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" /></a>
	<a rel="nofollow"  target="_blank" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=JavaScript%20String%20Object%20%20&amp;u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F" title="Fark"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" /></a>
	<a rel="nofollow"  target="_blank" href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;title=JavaScript%20String%20Object%20%20" title="Faves"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" /></a>
	<a rel="nofollow"  target="_blank" href="http://laaik.it/NewStoryCompact.aspx?uri=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;headline=JavaScript%20String%20Object%20%20&amp;cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12" title="laaik.it"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/laaikit.png" title="laaik.it" alt="laaik.it" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;title=JavaScript%20String%20Object%20%20&amp;source=Classifieds+Scripts%2C+Web+Scripts%2C++Ajax+Scripts%2C+PHP+Scripts%2C+ASP+Scripts+AJAX%2C+PHP+Scripts%2C+ASP+Scripts%2C+Ad+Management%2C+Bookmark+Management%2C+Database+Tools%2C+Chat+Scripts%2C+HTML+Editors%2C+Classified+Ads+Scripts%2C+Classifieds+Script&amp;summary=Complete%20String%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20String%20object%2C%20go%20to%20our%C2%A0complete%20String%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20e" title="LinkedIn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;title=JavaScript%20String%20Object%20%20" title="Live"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;bm_description=JavaScript%20String%20Object%20%20&amp;plugin=soc" title="MisterWong"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;t=JavaScript%20String%20Object%20%20" title="MySpace"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=JavaScript%20String%20Object%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F" title="Netvibes"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;title=JavaScript%20String%20Object%20%20&amp;popup=no" title="Netvouz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;h=JavaScript%20String%20Object%20%20" title="NewsVine"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.propeller.com/submit/?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F" title="Propeller"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/propeller.png" title="Propeller" alt="Propeller" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;title=JavaScript%20String%20Object%20%20" title="Reddit"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=JavaScript%20String%20Object%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F" title="Slashdot"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;story_title=JavaScript%20String%20Object%20%20" title="Socialogs"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;title=JavaScript%20String%20Object%20%20" title="StumbleUpon"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F" title="Technorati"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=JavaScript%20String%20Object%20%20%20-%20http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F" title="Twitter"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-string-object%2F&amp;submitHeadline=JavaScript%20String%20Object%20%20&amp;submitSummary=Complete%20String%20Object%20Reference%0D%0AFor%20a%20complete%20reference%20of%20all%20the%20properties%20and%20methods%20that%20can%20be%20used%20with%20the%20String%20object%2C%20go%20to%20our%C2%A0complete%20String%20object%20reference.%0D%0A%0D%0AThe%20reference%20contains%20a%20brief%20description%20and%20examples%20of%20use%20for%20e&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.scriptclassifieds.com/javascript/javascript-string-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Objects Introduction</title>
		<link>http://www.scriptclassifieds.com/javascript/javascript-objects-introduction/</link>
		<comments>http://www.scriptclassifieds.com/javascript/javascript-objects-introduction/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 09:32:23 +0000</pubDate>
		<dc:creator>thanhlangtu</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Objects]]></category>

		<guid isPermaLink="false">http://www.scriptclassifieds.com/?p=1145</guid>
		<description><![CDATA[<a href="http://www.scriptclassifieds.com/javascript/javascript-objects-introduction/"><img align="left" hspace="5" width="100" height="100" src="http://www.scriptclassifieds.com/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>JavaScript is an Object Based Programming language. An Object Based Programming language allows you to define your own objects and make your own variable types. Object Based Programming JavaScript is an Object Based Programming language, and allows you to define your own objects and make your own variable types. However, creating your own objects will [...]]]></description>
			<content:encoded><![CDATA[<p>JavaScript is an Object Based Programming language.</p>
<p>An Object Based Programming language allows you to define your own objects and make your own variable types.</p>
<hr />
<h2>Object Based Programming</h2>
<p>JavaScript is an Object Based Programming language, and allows you to define your own objects and make your own variable types.</p>
<p>However, creating your own objects will be explained later, in the Advanced JavaScript section. We will start by looking at the built-in JavaScript objects, and how they are used. The next pages will explain each built-in JavaScript object in detail.</p>
<p>Note that an object is just a special kind of data. An object has properties and methods.</p>
<hr />
<h2>Properties</h2>
<p>Properties are the values associated with an object.</p>
<p>In the following example we are using the length property of the String object to return the number of characters in a string:</p>
<div>
<div>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
var txt=&#8221;Hello World!&#8221;;<br />
document.write(txt.length);<br />
&lt;/script&gt;</div>
</div>
<p>The output of the code above will be:</p>
<div>
<div>12</div>
</div>
<p>&nbsp;</p>
<hr />
<h2>Methods</h2>
<p>Methods are the actions that can be performed on objects.</p>
<p>In the following example we are using the toUpperCase() method of the String object to display a text in uppercase letters:</p>
<div>
<div>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
var str=&#8221;Hello world!&#8221;;<br />
document.write(str.toUpperCase());<br />
&lt;/script&gt;</div>
</div>
<p>The output of the code above will be:</p>
<div>
<div>HELLO WORLD!</div>
</div>
<p>source form: <a href="http://www.w3schools.com/">w3schools</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;title=JavaScript%20Objects%20Introduction%20%20&amp;bodytext=JavaScript%20is%20an%20Object%20Based%20Programming%20language.%0D%0A%0D%0AAn%20Object%20Based%20Programming%20language%20allows%20you%20to%20define%20your%20own%20objects%20and%20make%20your%20own%20variable%20types.%0D%0A%0D%0A%0D%0A%0D%0AObject%20Based%20Programming%0D%0AJavaScript%20is%20an%20Object%20Based%20Programming%20language%2C%20a" title="Digg"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F" title="Sphinn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;title=JavaScript%20Objects%20Introduction%20%20&amp;notes=JavaScript%20is%20an%20Object%20Based%20Programming%20language.%0D%0A%0D%0AAn%20Object%20Based%20Programming%20language%20allows%20you%20to%20define%20your%20own%20objects%20and%20make%20your%20own%20variable%20types.%0D%0A%0D%0A%0D%0A%0D%0AObject%20Based%20Programming%0D%0AJavaScript%20is%20an%20Object%20Based%20Programming%20language%2C%20a" title="del.icio.us"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;t=JavaScript%20Objects%20Introduction%20%20" title="Facebook"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;title=JavaScript%20Objects%20Introduction%20%20" title="Mixx"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;title=JavaScript%20Objects%20Introduction%20%20&amp;annotation=JavaScript%20is%20an%20Object%20Based%20Programming%20language.%0D%0A%0D%0AAn%20Object%20Based%20Programming%20language%20allows%20you%20to%20define%20your%20own%20objects%20and%20make%20your%20own%20variable%20types.%0D%0A%0D%0A%0D%0A%0D%0AObject%20Based%20Programming%0D%0AJavaScript%20is%20an%20Object%20Based%20Programming%20language%2C%20a" title="Google Bookmarks"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.diigo.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;title=JavaScript%20Objects%20Introduction%20%20" title="Diigo"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;title=JavaScript%20Objects%20Introduction%20%20" title="DZone"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" /></a>
	<a rel="nofollow"  target="_blank" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=JavaScript%20Objects%20Introduction%20%20&amp;u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F" title="Fark"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" /></a>
	<a rel="nofollow"  target="_blank" href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;title=JavaScript%20Objects%20Introduction%20%20" title="Faves"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" /></a>
	<a rel="nofollow"  target="_blank" href="http://laaik.it/NewStoryCompact.aspx?uri=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;headline=JavaScript%20Objects%20Introduction%20%20&amp;cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12" title="laaik.it"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/laaikit.png" title="laaik.it" alt="laaik.it" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;title=JavaScript%20Objects%20Introduction%20%20&amp;source=Classifieds+Scripts%2C+Web+Scripts%2C++Ajax+Scripts%2C+PHP+Scripts%2C+ASP+Scripts+AJAX%2C+PHP+Scripts%2C+ASP+Scripts%2C+Ad+Management%2C+Bookmark+Management%2C+Database+Tools%2C+Chat+Scripts%2C+HTML+Editors%2C+Classified+Ads+Scripts%2C+Classifieds+Script&amp;summary=JavaScript%20is%20an%20Object%20Based%20Programming%20language.%0D%0A%0D%0AAn%20Object%20Based%20Programming%20language%20allows%20you%20to%20define%20your%20own%20objects%20and%20make%20your%20own%20variable%20types.%0D%0A%0D%0A%0D%0A%0D%0AObject%20Based%20Programming%0D%0AJavaScript%20is%20an%20Object%20Based%20Programming%20language%2C%20a" title="LinkedIn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;title=JavaScript%20Objects%20Introduction%20%20" title="Live"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;bm_description=JavaScript%20Objects%20Introduction%20%20&amp;plugin=soc" title="MisterWong"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;t=JavaScript%20Objects%20Introduction%20%20" title="MySpace"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=JavaScript%20Objects%20Introduction%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F" title="Netvibes"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;title=JavaScript%20Objects%20Introduction%20%20&amp;popup=no" title="Netvouz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;h=JavaScript%20Objects%20Introduction%20%20" title="NewsVine"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.propeller.com/submit/?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F" title="Propeller"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/propeller.png" title="Propeller" alt="Propeller" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;title=JavaScript%20Objects%20Introduction%20%20" title="Reddit"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=JavaScript%20Objects%20Introduction%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F" title="Slashdot"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;story_title=JavaScript%20Objects%20Introduction%20%20" title="Socialogs"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;title=JavaScript%20Objects%20Introduction%20%20" title="StumbleUpon"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F" title="Technorati"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=JavaScript%20Objects%20Introduction%20%20%20-%20http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F" title="Twitter"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-objects-introduction%2F&amp;submitHeadline=JavaScript%20Objects%20Introduction%20%20&amp;submitSummary=JavaScript%20is%20an%20Object%20Based%20Programming%20language.%0D%0A%0D%0AAn%20Object%20Based%20Programming%20language%20allows%20you%20to%20define%20your%20own%20objects%20and%20make%20your%20own%20variable%20types.%0D%0A%0D%0A%0D%0A%0D%0AObject%20Based%20Programming%0D%0AJavaScript%20is%20an%20Object%20Based%20Programming%20language%2C%20a&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.scriptclassifieds.com/javascript/javascript-objects-introduction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript Create Your Own Objects</title>
		<link>http://www.scriptclassifieds.com/javascript/javascript-create-your-own-objects-2/</link>
		<comments>http://www.scriptclassifieds.com/javascript/javascript-create-your-own-objects-2/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 09:31:54 +0000</pubDate>
		<dc:creator>thanhlangtu</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Objects]]></category>

		<guid isPermaLink="false">http://www.scriptclassifieds.com/?p=1152</guid>
		<description><![CDATA[<a href="http://www.scriptclassifieds.com/javascript/javascript-create-your-own-objects-2/"><img align="left" hspace="5" width="100" height="100" src="http://www.scriptclassifieds.com/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>JavaScript Objects Earlier in this tutorial we have seen that JavaScript has several built-in objects, like String, Date, Array, and more. In addition to these built-in objects, you can also create your own. An object is just a special kind of data, with a collection of properties and methods. Let&#8217;s illustrate with an example: A [...]]]></description>
			<content:encoded><![CDATA[<h2>JavaScript Objects</h2>
<p>Earlier in this tutorial we have seen that JavaScript has several built-in objects, like String, Date, Array, and more. In addition to these built-in objects, you can also create your own.</p>
<p>An object is just a special kind of data, with a collection of properties and methods.</p>
<p>Let&#8217;s illustrate with an example: A person is an object. Properties are the values associated with the object. The persons&#8217; properties include name, height, weight, age, skin tone, eye color, etc. All persons have these properties, but the values of those properties will differ from person to person. Objects also have methods. Methods are the actions that can be performed on objects. The persons&#8217; methods could be eat(), sleep(), work(), play(), etc.</p>
<h3>Properties</h3>
<p>The syntax for accessing a property of an object is:</p>
<div>
<div>objName.propName</div>
</div>
<p>You can add properties to an object by simply giving it a value. Assume that the personObj already exists &#8211; you can give it properties named firstname, lastname, age, and eyecolor as follows:</p>
<div>
<div>personObj.firstname=&#8221;John&#8221;;<br />
personObj.lastname=&#8221;Doe&#8221;;<br />
personObj.age=30;<br />
personObj.eyecolor=&#8221;blue&#8221;;</p>
<p>document.write(personObj.firstname);</p></div>
</div>
<p>The code above will generate the following output:</p>
<div>
<div>John</div>
</div>
<h3>Methods</h3>
<p>An object can also contain methods.</p>
<p>You can call a method with the following syntax:</p>
<div>
<div>objName.methodName()</div>
</div>
<p><strong>Note:</strong> Parameters required for the method can be passed between the parentheses.</p>
<p>To call a method called sleep() for the personObj:</p>
<div>
<div>personObj.sleep();</div>
</div>
<p>&nbsp;</p>
<hr />
<h2>Creating Your Own Objects</h2>
<p>There are different ways to create a new object:</p>
<p><strong>1. Create a direct instance of an object</strong></p>
<p>The following code creates a new instance of an object, and adds four properties to it:</p>
<div>
<div>personObj=new Object();<br />
personObj.firstname=&#8221;John&#8221;;<br />
personObj.lastname=&#8221;Doe&#8221;;<br />
personObj.age=50;<br />
personObj.eyecolor=&#8221;blue&#8221;;</div>
</div>
<p>alternative syntax (using object literals):</p>
<div>
<div>personObj={firstname:&#8221;John&#8221;,lastname:&#8221;Doe&#8221;,age:50,eyecolor:&#8221;blue&#8221;};</div>
</div>
<p>Adding a method to the personObj is also simple. The following code adds a method called eat() to the personObj:</p>
<div>
<div>personObj.eat=eat;</div>
</div>
<p><strong>2. Create an object constructor</strong></p>
<p>Create a function that construct objects:</p>
<div>
<div>function person(firstname,lastname,age,eyecolor)<br />
{<br />
this.firstname=firstname;<br />
this.lastname=lastname;<br />
this.age=age;<br />
this.eyecolor=eyecolor;<br />
}</div>
</div>
<p>Inside the function you need to assign things to this.propertyName. The reason for all the &#8220;this&#8221; stuff is that you&#8217;re going to have more than one person at a time (which person you&#8217;re dealing with must be clear). That&#8217;s what &#8220;this&#8221; is: the instance of the object at hand.</p>
<p>Once you have the object constructor, you can create new instances of the object, like this:</p>
<div>
<div>var myFather=new person(&#8220;John&#8221;,&#8221;Doe&#8221;,50,&#8221;blue&#8221;);<br />
var myMother=new person(&#8220;Sally&#8221;,&#8221;Rally&#8221;,48,&#8221;green&#8221;);</div>
</div>
<p>You can also add some methods to the person object. This is also done inside the function:</p>
<div>
<div>function person(firstname,lastname,age,eyecolor)<br />
{<br />
this.firstname=firstname;<br />
this.lastname=lastname;<br />
this.age=age;<br />
this.eyecolor=eyecolor;</p>
<p>this.newlastname=newlastname;<br />
}</p></div>
</div>
<p>Note that methods are just functions attached to objects. Then we will have to write the newlastname() function:</p>
<div>
<div>function newlastname(new_lastname)<br />
{<br />
this.lastname=new_lastname;<br />
}</div>
</div>
<p>The newlastname() function defines the person&#8217;s new last name and assigns that to the person. JavaScript knows which person you&#8217;re talking about by using &#8220;this.&#8221;. So, now you can write: myMother.newlastname(&#8220;Doe&#8221;).</p>
<p>source form: <a href="http://www.w3schools.com/">w3schools</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;title=JavaScript%20Create%20Your%20Own%20Objects%20%20&amp;bodytext=JavaScript%20Objects%0D%0AEarlier%20in%20this%20tutorial%20we%20have%20seen%20that%20JavaScript%20has%20several%20built-in%20objects%2C%20like%20String%2C%20Date%2C%20Array%2C%20and%20more.%20In%20addition%20to%20these%20built-in%20objects%2C%20you%20can%20also%20create%20your%20own.%0D%0A%0D%0AAn%20object%20is%20just%20a%20special%20kind%20of%20da" title="Digg"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F" title="Sphinn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;title=JavaScript%20Create%20Your%20Own%20Objects%20%20&amp;notes=JavaScript%20Objects%0D%0AEarlier%20in%20this%20tutorial%20we%20have%20seen%20that%20JavaScript%20has%20several%20built-in%20objects%2C%20like%20String%2C%20Date%2C%20Array%2C%20and%20more.%20In%20addition%20to%20these%20built-in%20objects%2C%20you%20can%20also%20create%20your%20own.%0D%0A%0D%0AAn%20object%20is%20just%20a%20special%20kind%20of%20da" title="del.icio.us"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;t=JavaScript%20Create%20Your%20Own%20Objects%20%20" title="Facebook"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;title=JavaScript%20Create%20Your%20Own%20Objects%20%20" title="Mixx"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;title=JavaScript%20Create%20Your%20Own%20Objects%20%20&amp;annotation=JavaScript%20Objects%0D%0AEarlier%20in%20this%20tutorial%20we%20have%20seen%20that%20JavaScript%20has%20several%20built-in%20objects%2C%20like%20String%2C%20Date%2C%20Array%2C%20and%20more.%20In%20addition%20to%20these%20built-in%20objects%2C%20you%20can%20also%20create%20your%20own.%0D%0A%0D%0AAn%20object%20is%20just%20a%20special%20kind%20of%20da" title="Google Bookmarks"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.diigo.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;title=JavaScript%20Create%20Your%20Own%20Objects%20%20" title="Diigo"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;title=JavaScript%20Create%20Your%20Own%20Objects%20%20" title="DZone"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" /></a>
	<a rel="nofollow"  target="_blank" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=JavaScript%20Create%20Your%20Own%20Objects%20%20&amp;u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F" title="Fark"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" /></a>
	<a rel="nofollow"  target="_blank" href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;title=JavaScript%20Create%20Your%20Own%20Objects%20%20" title="Faves"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" /></a>
	<a rel="nofollow"  target="_blank" href="http://laaik.it/NewStoryCompact.aspx?uri=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;headline=JavaScript%20Create%20Your%20Own%20Objects%20%20&amp;cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12" title="laaik.it"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/laaikit.png" title="laaik.it" alt="laaik.it" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;title=JavaScript%20Create%20Your%20Own%20Objects%20%20&amp;source=Classifieds+Scripts%2C+Web+Scripts%2C++Ajax+Scripts%2C+PHP+Scripts%2C+ASP+Scripts+AJAX%2C+PHP+Scripts%2C+ASP+Scripts%2C+Ad+Management%2C+Bookmark+Management%2C+Database+Tools%2C+Chat+Scripts%2C+HTML+Editors%2C+Classified+Ads+Scripts%2C+Classifieds+Script&amp;summary=JavaScript%20Objects%0D%0AEarlier%20in%20this%20tutorial%20we%20have%20seen%20that%20JavaScript%20has%20several%20built-in%20objects%2C%20like%20String%2C%20Date%2C%20Array%2C%20and%20more.%20In%20addition%20to%20these%20built-in%20objects%2C%20you%20can%20also%20create%20your%20own.%0D%0A%0D%0AAn%20object%20is%20just%20a%20special%20kind%20of%20da" title="LinkedIn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;title=JavaScript%20Create%20Your%20Own%20Objects%20%20" title="Live"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;bm_description=JavaScript%20Create%20Your%20Own%20Objects%20%20&amp;plugin=soc" title="MisterWong"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;t=JavaScript%20Create%20Your%20Own%20Objects%20%20" title="MySpace"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=JavaScript%20Create%20Your%20Own%20Objects%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F" title="Netvibes"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;title=JavaScript%20Create%20Your%20Own%20Objects%20%20&amp;popup=no" title="Netvouz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;h=JavaScript%20Create%20Your%20Own%20Objects%20%20" title="NewsVine"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.propeller.com/submit/?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F" title="Propeller"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/propeller.png" title="Propeller" alt="Propeller" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;title=JavaScript%20Create%20Your%20Own%20Objects%20%20" title="Reddit"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=JavaScript%20Create%20Your%20Own%20Objects%20%20&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F" title="Slashdot"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;story_title=JavaScript%20Create%20Your%20Own%20Objects%20%20" title="Socialogs"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;title=JavaScript%20Create%20Your%20Own%20Objects%20%20" title="StumbleUpon"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F" title="Technorati"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=JavaScript%20Create%20Your%20Own%20Objects%20%20%20-%20http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F" title="Twitter"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.scriptclassifieds.com%2Fjavascript%2Fjavascript-create-your-own-objects-2%2F&amp;submitHeadline=JavaScript%20Create%20Your%20Own%20Objects%20%20&amp;submitSummary=JavaScript%20Objects%0D%0AEarlier%20in%20this%20tutorial%20we%20have%20seen%20that%20JavaScript%20has%20several%20built-in%20objects%2C%20like%20String%2C%20Date%2C%20Array%2C%20and%20more.%20In%20addition%20to%20these%20built-in%20objects%2C%20you%20can%20also%20create%20your%20own.%0D%0A%0D%0AAn%20object%20is%20just%20a%20special%20kind%20of%20da&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.scriptclassifieds.com/javascript/javascript-create-your-own-objects-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET &#8211; Data Binding</title>
		<link>http://www.scriptclassifieds.com/asp-net/asp-net-data-binding/</link>
		<comments>http://www.scriptclassifieds.com/asp-net/asp-net-data-binding/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 03:07:51 +0000</pubDate>
		<dc:creator>thanhlangtu</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Data Binding]]></category>

		<guid isPermaLink="false">http://www.scriptclassifieds.com/?p=1129</guid>
		<description><![CDATA[<a href="http://www.scriptclassifieds.com/asp-net/asp-net-data-binding/"><img align="left" hspace="5" width="100" height="100" src="http://www.scriptclassifieds.com/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>We may use data binding to fill lists with selectable items from an imported data source, like a database, an XML file, or a script. Data Binding The following controls are list controls which support data binding: asp:RadioButtonList asp:CheckBoxList asp:DropDownList asp:Listbox The selectable items in each of the above controls are usually defined by one [...]]]></description>
			<content:encoded><![CDATA[<p>We may use data binding to fill lists with selectable items from an imported data source, like a database, an XML file, or a script.</p>
<hr />
<h2>Data Binding</h2>
<p>The following controls are list controls which support data binding:</p>
<ul>
<li>asp:RadioButtonList</li>
<li>asp:CheckBoxList</li>
<li>asp:DropDownList</li>
<li>asp:Listbox</li>
</ul>
<p>The selectable items in each of the above controls are usually defined by one or more asp:ListItem controls, like this:</p>
<div>
<div>&lt;html&gt;<br />
&lt;body&gt;</p>
<p>&lt;form runat=&#8221;server&#8221;&gt;<br />
&lt;asp:RadioButtonList id=&#8221;countrylist&#8221; runat=&#8221;server&#8221;&gt;<br />
&lt;asp:ListItem value=&#8221;N&#8221; text=&#8221;Norway&#8221; /&gt;<br />
&lt;asp:ListItem value=&#8221;S&#8221; text=&#8221;Sweden&#8221; /&gt;<br />
&lt;asp:ListItem value=&#8221;F&#8221; text=&#8221;France&#8221; /&gt;<br />
&lt;asp:ListItem value=&#8221;I&#8221; text=&#8221;Italy&#8221; /&gt;<br />
&lt;/asp:RadioButtonList&gt;<br />
&lt;/form&gt;</p>
<p>&lt;/body&gt;<br />
&lt;/html&gt;</p></div>
</div>
<p>However, with data binding we may use a separate source, like a database, an XML file, or a script to fill the list with selectable items.</p>
<p>By using an imported source, the data is separated from the HTML, and any changes to the items are made in the separate data source.</p>
<p>In the next three chapters, we will describe how to bind data from a scripted data source.</p>
<p>&nbsp;</p>
<p>source form: <a href="http://www.w3schools.com/">w3schools</a></p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;title=ASP.NET%20-%20Data%20Binding&amp;bodytext=We%20may%20use%20data%20binding%20to%20fill%20lists%20with%20selectable%20items%20from%20an%20imported%20data%20source%2C%20like%20a%20database%2C%20an%20XML%20file%2C%20or%20a%20script.%0D%0A%0D%0A%0D%0A%0D%0AData%20Binding%0D%0AThe%20following%20controls%20are%20list%20controls%20which%20support%20data%20binding%3A%0D%0A%0D%0A%09asp%3ARadioButtonList%0D%0A%09a" title="Digg"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F" title="Sphinn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;title=ASP.NET%20-%20Data%20Binding&amp;notes=We%20may%20use%20data%20binding%20to%20fill%20lists%20with%20selectable%20items%20from%20an%20imported%20data%20source%2C%20like%20a%20database%2C%20an%20XML%20file%2C%20or%20a%20script.%0D%0A%0D%0A%0D%0A%0D%0AData%20Binding%0D%0AThe%20following%20controls%20are%20list%20controls%20which%20support%20data%20binding%3A%0D%0A%0D%0A%09asp%3ARadioButtonList%0D%0A%09a" title="del.icio.us"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;t=ASP.NET%20-%20Data%20Binding" title="Facebook"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;title=ASP.NET%20-%20Data%20Binding" title="Mixx"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;title=ASP.NET%20-%20Data%20Binding&amp;annotation=We%20may%20use%20data%20binding%20to%20fill%20lists%20with%20selectable%20items%20from%20an%20imported%20data%20source%2C%20like%20a%20database%2C%20an%20XML%20file%2C%20or%20a%20script.%0D%0A%0D%0A%0D%0A%0D%0AData%20Binding%0D%0AThe%20following%20controls%20are%20list%20controls%20which%20support%20data%20binding%3A%0D%0A%0D%0A%09asp%3ARadioButtonList%0D%0A%09a" title="Google Bookmarks"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.diigo.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;title=ASP.NET%20-%20Data%20Binding" title="Diigo"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;title=ASP.NET%20-%20Data%20Binding" title="DZone"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" /></a>
	<a rel="nofollow"  target="_blank" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=ASP.NET%20-%20Data%20Binding&amp;u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F" title="Fark"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" /></a>
	<a rel="nofollow"  target="_blank" href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;title=ASP.NET%20-%20Data%20Binding" title="Faves"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" /></a>
	<a rel="nofollow"  target="_blank" href="http://laaik.it/NewStoryCompact.aspx?uri=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;headline=ASP.NET%20-%20Data%20Binding&amp;cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12" title="laaik.it"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/laaikit.png" title="laaik.it" alt="laaik.it" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;title=ASP.NET%20-%20Data%20Binding&amp;source=Classifieds+Scripts%2C+Web+Scripts%2C++Ajax+Scripts%2C+PHP+Scripts%2C+ASP+Scripts+AJAX%2C+PHP+Scripts%2C+ASP+Scripts%2C+Ad+Management%2C+Bookmark+Management%2C+Database+Tools%2C+Chat+Scripts%2C+HTML+Editors%2C+Classified+Ads+Scripts%2C+Classifieds+Script&amp;summary=We%20may%20use%20data%20binding%20to%20fill%20lists%20with%20selectable%20items%20from%20an%20imported%20data%20source%2C%20like%20a%20database%2C%20an%20XML%20file%2C%20or%20a%20script.%0D%0A%0D%0A%0D%0A%0D%0AData%20Binding%0D%0AThe%20following%20controls%20are%20list%20controls%20which%20support%20data%20binding%3A%0D%0A%0D%0A%09asp%3ARadioButtonList%0D%0A%09a" title="LinkedIn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;title=ASP.NET%20-%20Data%20Binding" title="Live"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;bm_description=ASP.NET%20-%20Data%20Binding&amp;plugin=soc" title="MisterWong"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;t=ASP.NET%20-%20Data%20Binding" title="MySpace"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=ASP.NET%20-%20Data%20Binding&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F" title="Netvibes"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;title=ASP.NET%20-%20Data%20Binding&amp;popup=no" title="Netvouz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;h=ASP.NET%20-%20Data%20Binding" title="NewsVine"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.propeller.com/submit/?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F" title="Propeller"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/propeller.png" title="Propeller" alt="Propeller" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;title=ASP.NET%20-%20Data%20Binding" title="Reddit"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=ASP.NET%20-%20Data%20Binding&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F" title="Slashdot"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;story_title=ASP.NET%20-%20Data%20Binding" title="Socialogs"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;title=ASP.NET%20-%20Data%20Binding" title="StumbleUpon"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F" title="Technorati"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=ASP.NET%20-%20Data%20Binding%20-%20http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F" title="Twitter"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-data-binding%2F&amp;submitHeadline=ASP.NET%20-%20Data%20Binding&amp;submitSummary=We%20may%20use%20data%20binding%20to%20fill%20lists%20with%20selectable%20items%20from%20an%20imported%20data%20source%2C%20like%20a%20database%2C%20an%20XML%20file%2C%20or%20a%20script.%0D%0A%0D%0A%0D%0A%0D%0AData%20Binding%0D%0AThe%20following%20controls%20are%20list%20controls%20which%20support%20data%20binding%3A%0D%0A%0D%0A%09asp%3ARadioButtonList%0D%0A%09a&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.scriptclassifieds.com/asp-net/asp-net-data-binding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET &#8211; The ArrayList Object</title>
		<link>http://www.scriptclassifieds.com/asp-net/asp-net-the-arraylist-object/</link>
		<comments>http://www.scriptclassifieds.com/asp-net/asp-net-the-arraylist-object/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 03:07:51 +0000</pubDate>
		<dc:creator>thanhlangtu</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Object]]></category>
		<category><![CDATA[The ArrayList]]></category>

		<guid isPermaLink="false">http://www.scriptclassifieds.com/?p=1128</guid>
		<description><![CDATA[<a href="http://www.scriptclassifieds.com/asp-net/asp-net-the-arraylist-object/"><img align="left" hspace="5" width="100" height="100" src="http://www.scriptclassifieds.com/wp-content/plugins/thumbnail-for-excerpts/tfe_no_thumb.png" class="alignleft wp-post-image tfe" alt="" title="" /></a>Create an ArrayList The ArrayList object is a collection of items containing a single data value. Items are added to the ArrayList with the Add() method. The following code creates a new ArrayList object named mycountries and four items are added: &#60;script runat=&#8221;server&#8221;&#62; Sub Page_Load if Not Page.IsPostBack then dim mycountries=New ArrayList mycountries.Add(&#8220;Norway&#8221;) mycountries.Add(&#8220;Sweden&#8221;) mycountries.Add(&#8220;France&#8221;) [...]]]></description>
			<content:encoded><![CDATA[<div>
<h2>Create an ArrayList</h2>
<p>The ArrayList object is a collection of items containing a single data value.</p>
<p>Items are added to the ArrayList with the Add() method.</p>
<p>The following code creates a new ArrayList object named mycountries and four items are added:</p>
<div>
<div>&lt;script runat=&#8221;server&#8221;&gt;<br />
Sub Page_Load<br />
if Not Page.IsPostBack then<br />
dim mycountries=New ArrayList<br />
mycountries.Add(&#8220;Norway&#8221;)<br />
mycountries.Add(&#8220;Sweden&#8221;)<br />
mycountries.Add(&#8220;France&#8221;)<br />
mycountries.Add(&#8220;Italy&#8221;)<br />
end if<br />
end sub<br />
&lt;/script&gt;</div>
</div>
<p>By default, an ArrayList object contains 16 entries. An ArrayList can be sized to its final size with the TrimToSize() method:</p>
<div>
<div>&lt;script runat=&#8221;server&#8221;&gt;<br />
Sub Page_Load<br />
if Not Page.IsPostBack then<br />
dim mycountries=New ArrayList<br />
mycountries.Add(&#8220;Norway&#8221;)<br />
mycountries.Add(&#8220;Sweden&#8221;)<br />
mycountries.Add(&#8220;France&#8221;)<br />
mycountries.Add(&#8220;Italy&#8221;)<br />
mycountries.TrimToSize()<br />
end if<br />
end sub<br />
&lt;/script&gt;</div>
</div>
<p>An ArrayList can also be sorted alphabetically or numerically with the Sort() method:</p>
<div>
<div>&lt;script runat=&#8221;server&#8221;&gt;<br />
Sub Page_Load<br />
if Not Page.IsPostBack then<br />
dim mycountries=New ArrayList<br />
mycountries.Add(&#8220;Norway&#8221;)<br />
mycountries.Add(&#8220;Sweden&#8221;)<br />
mycountries.Add(&#8220;France&#8221;)<br />
mycountries.Add(&#8220;Italy&#8221;)<br />
mycountries.TrimToSize()<br />
mycountries.Sort()<br />
end if<br />
end sub<br />
&lt;/script&gt;</div>
</div>
<p>To sort in reverse order, apply the Reverse() method after the Sort() method:</p>
<div>
<div>&lt;script runat=&#8221;server&#8221;&gt;<br />
Sub Page_Load<br />
if Not Page.IsPostBack then<br />
dim mycountries=New ArrayList<br />
mycountries.Add(&#8220;Norway&#8221;)<br />
mycountries.Add(&#8220;Sweden&#8221;)<br />
mycountries.Add(&#8220;France&#8221;)<br />
mycountries.Add(&#8220;Italy&#8221;)<br />
mycountries.TrimToSize()<br />
mycountries.Sort()<br />
mycountries.Reverse()<br />
end if<br />
end sub<br />
&lt;/script&gt;</div>
</div>
<hr />
<h2>Data Binding to an ArrayList</h2>
<p>An ArrayList object may automatically generate the text and values to the following controls:</p>
<ul>
<li>asp:RadioButtonList</li>
<li>asp:CheckBoxList</li>
<li>asp:DropDownList</li>
<li>asp:Listbox</li>
</ul>
<p>To bind data to a RadioButtonList control, first create a RadioButtonList control (without any asp:ListItem elements) in an .aspx page:</p>
<div>
<div>&lt;html&gt;<br />
&lt;body&gt;</p>
<p>&lt;form runat=&#8221;server&#8221;&gt;<br />
&lt;asp:RadioButtonList id=&#8221;rb&#8221; runat=&#8221;server&#8221; /&gt;<br />
&lt;/form&gt;</p>
<p>&lt;/body&gt;<br />
&lt;/html&gt;</p></div>
</div>
<p>Then add the script that builds the list and binds the values in the list to the RadioButtonList control:</p>
<div>
<h2>Example</h2>
<div>&lt;script runat=&#8221;server&#8221;&gt;<br />
Sub Page_Load<br />
if Not Page.IsPostBack then<br />
dim mycountries=New ArrayList<br />
mycountries.Add(&#8220;Norway&#8221;)<br />
mycountries.Add(&#8220;Sweden&#8221;)<br />
mycountries.Add(&#8220;France&#8221;)<br />
mycountries.Add(&#8220;Italy&#8221;)<br />
mycountries.TrimToSize()<br />
mycountries.Sort()<br />
rb.DataSource=mycountries<br />
rb.DataBind()<br />
end if<br />
end sub<br />
&lt;/script&gt;</p>
<p>&lt;html&gt;<br />
&lt;body&gt;</p>
<p>&lt;form runat=&#8221;server&#8221;&gt;<br />
&lt;asp:RadioButtonList id=&#8221;rb&#8221; runat=&#8221;server&#8221; /&gt;<br />
&lt;/form&gt;</p>
<p>&lt;/body&gt;<br />
&lt;/html&gt;</p></div>
<p><a href="http://www.w3schools.com/aspnet/showasp.asp?filename=demo_arraylist_radio1" target="_blank">Show example »</a></div>
<p>The DataSource property of the RadioButtonList control is set to the ArrayList and it defines the data source of the RadioButtonList control. The DataBind() method of the RadioButtonList control binds the data source with the RadioButtonList control.</p>
<p><strong>Note:</strong> The data values are used as both the Text and Value properties for the control. To add Values that are different from the Text, use either the Hashtable object or the SortedList object.</p>
<p>&nbsp;</p>
<p>source form: <a href="http://www.w3schools.com/">w3schools</a></p>
</div>
<p>&nbsp;</p>



Share and Enjoy:


	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;title=ASP.NET%20-%20The%20ArrayList%20Object&amp;bodytext=%0D%0ACreate%20an%20ArrayList%0D%0AThe%20ArrayList%20object%20is%20a%20collection%20of%20items%20containing%20a%20single%20data%20value.%0D%0A%0D%0AItems%20are%20added%20to%20the%20ArrayList%20with%20the%20Add%28%29%20method.%0D%0A%0D%0AThe%20following%20code%20creates%20a%20new%20ArrayList%20object%20named%20mycountries%20and%20four%20items%20are%20" title="Digg"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" /></a>
	<a rel="nofollow"  target="_blank" href="http://sphinn.com/index.php?c=post&amp;m=submit&amp;link=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F" title="Sphinn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;title=ASP.NET%20-%20The%20ArrayList%20Object&amp;notes=%0D%0ACreate%20an%20ArrayList%0D%0AThe%20ArrayList%20object%20is%20a%20collection%20of%20items%20containing%20a%20single%20data%20value.%0D%0A%0D%0AItems%20are%20added%20to%20the%20ArrayList%20with%20the%20Add%28%29%20method.%0D%0A%0D%0AThe%20following%20code%20creates%20a%20new%20ArrayList%20object%20named%20mycountries%20and%20four%20items%20are%20" title="del.icio.us"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;t=ASP.NET%20-%20The%20ArrayList%20Object" title="Facebook"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;title=ASP.NET%20-%20The%20ArrayList%20Object" title="Mixx"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;title=ASP.NET%20-%20The%20ArrayList%20Object&amp;annotation=%0D%0ACreate%20an%20ArrayList%0D%0AThe%20ArrayList%20object%20is%20a%20collection%20of%20items%20containing%20a%20single%20data%20value.%0D%0A%0D%0AItems%20are%20added%20to%20the%20ArrayList%20with%20the%20Add%28%29%20method.%0D%0A%0D%0AThe%20following%20code%20creates%20a%20new%20ArrayList%20object%20named%20mycountries%20and%20four%20items%20are%20" title="Google Bookmarks"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.diigo.com/post?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;title=ASP.NET%20-%20The%20ArrayList%20Object" title="Diigo"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/diigo.png" title="Diigo" alt="Diigo" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;title=ASP.NET%20-%20The%20ArrayList%20Object" title="DZone"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" /></a>
	<a rel="nofollow"  target="_blank" href="http://cgi.fark.com/cgi/fark/farkit.pl?h=ASP.NET%20-%20The%20ArrayList%20Object&amp;u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F" title="Fark"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/fark.png" title="Fark" alt="Fark" /></a>
	<a rel="nofollow"  target="_blank" href="http://faves.com/Authoring.aspx?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;title=ASP.NET%20-%20The%20ArrayList%20Object" title="Faves"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/bluedot.png" title="Faves" alt="Faves" /></a>
	<a rel="nofollow"  target="_blank" href="http://laaik.it/NewStoryCompact.aspx?uri=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;headline=ASP.NET%20-%20The%20ArrayList%20Object&amp;cat=5e082fcc-8a3b-47e2-acec-fdf64ff19d12" title="laaik.it"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/laaikit.png" title="laaik.it" alt="laaik.it" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;title=ASP.NET%20-%20The%20ArrayList%20Object&amp;source=Classifieds+Scripts%2C+Web+Scripts%2C++Ajax+Scripts%2C+PHP+Scripts%2C+ASP+Scripts+AJAX%2C+PHP+Scripts%2C+ASP+Scripts%2C+Ad+Management%2C+Bookmark+Management%2C+Database+Tools%2C+Chat+Scripts%2C+HTML+Editors%2C+Classified+Ads+Scripts%2C+Classifieds+Script&amp;summary=%0D%0ACreate%20an%20ArrayList%0D%0AThe%20ArrayList%20object%20is%20a%20collection%20of%20items%20containing%20a%20single%20data%20value.%0D%0A%0D%0AItems%20are%20added%20to%20the%20ArrayList%20with%20the%20Add%28%29%20method.%0D%0A%0D%0AThe%20following%20code%20creates%20a%20new%20ArrayList%20object%20named%20mycountries%20and%20four%20items%20are%20" title="LinkedIn"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" /></a>
	<a rel="nofollow"  target="_blank" href="https://favorites.live.com/quickadd.aspx?marklet=1&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;title=ASP.NET%20-%20The%20ArrayList%20Object" title="Live"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/live.png" title="Live" alt="Live" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.mister-wong.com/addurl/?bm_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;bm_description=ASP.NET%20-%20The%20ArrayList%20Object&amp;plugin=soc" title="MisterWong"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/misterwong.png" title="MisterWong" alt="MisterWong" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;t=ASP.NET%20-%20The%20ArrayList%20Object" title="MySpace"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=ASP.NET%20-%20The%20ArrayList%20Object&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F" title="Netvibes"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;title=ASP.NET%20-%20The%20ArrayList%20Object&amp;popup=no" title="Netvouz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.newsvine.com/_tools/seed&amp;save?u=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;h=ASP.NET%20-%20The%20ArrayList%20Object" title="NewsVine"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/newsvine.png" title="NewsVine" alt="NewsVine" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.propeller.com/submit/?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F" title="Propeller"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/propeller.png" title="Propeller" alt="Propeller" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;title=ASP.NET%20-%20The%20ArrayList%20Object" title="Reddit"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=ASP.NET%20-%20The%20ArrayList%20Object&amp;url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F" title="Slashdot"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" /></a>
	<a rel="nofollow"  target="_blank" href="http://socialogs.com/add_story.php?story_url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;story_title=ASP.NET%20-%20The%20ArrayList%20Object" title="Socialogs"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/socialogs.png" title="Socialogs" alt="Socialogs" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;title=ASP.NET%20-%20The%20ArrayList%20Object" title="StumbleUpon"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F" title="Technorati"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=ASP.NET%20-%20The%20ArrayList%20Object%20-%20http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F" title="Twitter"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fwww.scriptclassifieds.com%2Fasp-net%2Fasp-net-the-arraylist-object%2F&amp;submitHeadline=ASP.NET%20-%20The%20ArrayList%20Object&amp;submitSummary=%0D%0ACreate%20an%20ArrayList%0D%0AThe%20ArrayList%20object%20is%20a%20collection%20of%20items%20containing%20a%20single%20data%20value.%0D%0A%0D%0AItems%20are%20added%20to%20the%20ArrayList%20with%20the%20Add%28%29%20method.%0D%0A%0D%0AThe%20following%20code%20creates%20a%20new%20ArrayList%20object%20named%20mycountries%20and%20four%20items%20are%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://www.scriptclassifieds.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.scriptclassifieds.com/asp-net/asp-net-the-arraylist-object/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

