<?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>Javascript Archives - Belchamber Web Tools, AI Guidance &amp; Code</title>
	<atom:link href="https://tools.belchamber.us/code-snippets/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>https://tools.belchamber.us/code-snippets/javascript/</link>
	<description>Aaron Belchamber: AI-Centric Senior Cloud Software Engineer - Jacksonville FL</description>
	<lastBuildDate>Fri, 25 Dec 2015 18:56:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
<site xmlns="com-wordpress:feed-additions:1">99928718</site>	<item>
		<title>Javascript: A simple way when validating forms to ensure at least one checkbox is checked</title>
		<link>https://tools.belchamber.us/validating-forms/</link>
					<comments>https://tools.belchamber.us/validating-forms/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Sun, 27 Dec 2015 16:13:17 +0000</pubDate>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[form validation]]></category>
		<category><![CDATA[javascript snippets]]></category>
		<guid isPermaLink="false">https://tools.belchamber.us/?p=981</guid>

					<description><![CDATA[<p>Check so at least one checkbox on your form is checked before it&#8217;s allowed to submit: $("#main_form").on('submit',function(e){ if ( $("input[type='checkbox']:checked").length &#62; 0) { } else { e.preventDefault(); alert("Please check at least one list you wish to be included in."); return false; } return true; }); &#160;</p>
<p>The post <a href="https://tools.belchamber.us/validating-forms/">Javascript: A simple way when validating forms to ensure at least one checkbox is checked</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/validating-forms/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">981</post-id>	</item>
		<item>
		<title>Get the image width and height of an image file at a remote URL in Javascript</title>
		<link>https://tools.belchamber.us/get-the-image-width-and-height-of-an-image-file-at-a-remote-url-in-javascript/</link>
					<comments>https://tools.belchamber.us/get-the-image-width-and-height-of-an-image-file-at-a-remote-url-in-javascript/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Mon, 14 Sep 2015 12:03:43 +0000</pubDate>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[Javascript tips]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=925</guid>

					<description><![CDATA[<p>Here&#8217;s how you can get the image width and height of an image file at a remote URL. function getImgDims(url){ var img = new Image(); img.onload = function(){ var rtnArr=Array; rtnArr['width']=this.width; rtnArr['height']=this.height; return rtnArr; }; } This will return an a multi-element associative array containing values under &#8220;width&#8221; and &#8220;height&#8221; as its keys.</p>
<p>The post <a href="https://tools.belchamber.us/get-the-image-width-and-height-of-an-image-file-at-a-remote-url-in-javascript/">Get the image width and height of an image file at a remote URL in Javascript</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/get-the-image-width-and-height-of-an-image-file-at-a-remote-url-in-javascript/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">925</post-id>	</item>
		<item>
		<title>Get date of last day of current month for special processing like for credit card expiration dates</title>
		<link>https://tools.belchamber.us/get-date-of-last-day-of-current-month-for-special-processing-like-for-credit-card-expiration-dates/</link>
					<comments>https://tools.belchamber.us/get-date-of-last-day-of-current-month-for-special-processing-like-for-credit-card-expiration-dates/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Thu, 05 Mar 2015 04:21:53 +0000</pubDate>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[.js]]></category>
		<category><![CDATA[date object]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[javascript snippets]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=714</guid>

					<description><![CDATA[<p>In case you ever need to manually validate those pesky multi-field credit card date fields, you know &#8220;Month&#8221; and &#8220;Year&#8221; and you want to make sure the expiration is never set prior to the current month for obvious reasons like the credit card would get declined, you need to have the browser client side figure [&#8230;]</p>
<p>The post <a href="https://tools.belchamber.us/get-date-of-last-day-of-current-month-for-special-processing-like-for-credit-card-expiration-dates/">Get date of last day of current month for special processing like for credit card expiration dates</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/get-date-of-last-day-of-current-month-for-special-processing-like-for-credit-card-expiration-dates/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">714</post-id>	</item>
		<item>
		<title>Javascript:  Basic Date Object for Quick Reference</title>
		<link>https://tools.belchamber.us/javascript-basic-date-object-quick-reference/</link>
					<comments>https://tools.belchamber.us/javascript-basic-date-object-quick-reference/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Fri, 03 Oct 2014 09:23:51 +0000</pubDate>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Javascript]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=598</guid>

					<description><![CDATA[<p>Here&#8217;s an exercise to create a new date object and convert today&#8217;s parts into the more human-readable month/day/year format. It&#8217;s not built into the Javascript language, what can you do?! Here&#8217;s a breakdown of some of the main methods built into the Date class, just the main ones var today = new Date(); var dd [&#8230;]</p>
<p>The post <a href="https://tools.belchamber.us/javascript-basic-date-object-quick-reference/">Javascript:  Basic Date Object for Quick Reference</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/javascript-basic-date-object-quick-reference/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">598</post-id>	</item>
		<item>
		<title>Disable/Remove ShareThis appended hashtag from site URLs</title>
		<link>https://tools.belchamber.us/disableremove-sharethis-appended-hashtag-from-site-urls/</link>
					<comments>https://tools.belchamber.us/disableremove-sharethis-appended-hashtag-from-site-urls/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Sat, 08 Mar 2014 17:17:15 +0000</pubDate>
				<category><![CDATA[Javascript]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/?p=129</guid>

					<description><![CDATA[<p>ShareThis is a useful tool to encourage sharing of your website&#8217;s pages and content with others in social media. It has other uses as well since it can link users to account they&#8217;re already logged into making it easier to re-tweet or post your page on Facebook. However, at the top of the URL the [&#8230;]</p>
<p>The post <a href="https://tools.belchamber.us/disableremove-sharethis-appended-hashtag-from-site-urls/">Disable/Remove ShareThis appended hashtag from site URLs</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/disableremove-sharethis-appended-hashtag-from-site-urls/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">129</post-id>	</item>
		<item>
		<title>Adding commas to numbers in Javascript for better readability</title>
		<link>https://tools.belchamber.us/adding-commas-to-numbers-in-javascript-for-better-readability/</link>
					<comments>https://tools.belchamber.us/adding-commas-to-numbers-in-javascript-for-better-readability/#respond</comments>
		
		<dc:creator><![CDATA[Aaron Belchamber]]></dc:creator>
		<pubDate>Thu, 27 Feb 2014 04:05:54 +0000</pubDate>
				<category><![CDATA[Javascript]]></category>
		<guid isPermaLink="false">http://tools.belchamber.us/cms/?p=53</guid>

					<description><![CDATA[<p>It seems like a lot of code and work to just show &#8220;1532&#8221; as &#8220;1,532&#8221; but that&#8217;s Javascript for you.  Clean and basic, but you seem to have to build so much from scratch.  Of course, there are great libraries like JQuery and Dojo, but in case you want to write something fast &#8212; just [&#8230;]</p>
<p>The post <a href="https://tools.belchamber.us/adding-commas-to-numbers-in-javascript-for-better-readability/">Adding commas to numbers in Javascript for better readability</a> appeared first on <a href="https://tools.belchamber.us">Belchamber Web Tools, AI Guidance &amp; Code</a>.</p>
]]></description>
		
					<wfw:commentRss>https://tools.belchamber.us/adding-commas-to-numbers-in-javascript-for-better-readability/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">53</post-id>	</item>
	</channel>
</rss>
