<?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>Tech Sharing Blog &#187; Javascript</title>
	<atom:link href="http://tech.david-cheong.com/category/programming/javascript-programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.david-cheong.com</link>
	<description>Computer knowledge, news, product, SEO, earn money online sharing place</description>
	<lastBuildDate>Sat, 11 Feb 2012 03:39:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Javascript to disable right cilck on web site</title>
		<link>http://tech.david-cheong.com/2011/08/javascript-to-disable-right-cilck-on-web-site/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=javascript-to-disable-right-cilck-on-web-site</link>
		<comments>http://tech.david-cheong.com/2011/08/javascript-to-disable-right-cilck-on-web-site/#comments</comments>
		<pubDate>Thu, 18 Aug 2011 04:42:07 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Browser]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Source Code]]></category>

		<guid isPermaLink="false">http://tech.david-cheong.com/?p=2883</guid>
		<description><![CDATA[Just come across with my company SQA team where they request us to do the disable right click features on our front end web site. The initial javascript which exists in our script only work with Microsoft Internet Explorer but not Firefox.
So Google around and found the following javascript which working for both the browser [...]
No related posts.]]></description>
		<wfw:commentRss>http://tech.david-cheong.com/2011/08/javascript-to-disable-right-cilck-on-web-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Possible injection use keyword</title>
		<link>http://tech.david-cheong.com/2010/05/possible-injection-use-keyword/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=possible-injection-use-keyword</link>
		<comments>http://tech.david-cheong.com/2010/05/possible-injection-use-keyword/#comments</comments>
		<pubDate>Wed, 19 May 2010 05:35:15 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Coldfusion]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[injection]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://tech.david-cheong.com/?p=2430</guid>
		<description><![CDATA[
All the web developer, web admin, as well as DB admin are always facing the attacking from all around the world toward their web site, but how to prevent it?

Some may use the 3th party software to prevent it, some may just filter all the possible keyword enter by the user, some will use the [...]
No related posts.]]></description>
		<wfw:commentRss>http://tech.david-cheong.com/2010/05/possible-injection-use-keyword/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Form validation not allow chinese cheractor</title>
		<link>http://tech.david-cheong.com/2010/01/form-validation-not-allow-chinese-cheractor/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=form-validation-not-allow-chinese-cheractor</link>
		<comments>http://tech.david-cheong.com/2010/01/form-validation-not-allow-chinese-cheractor/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 04:35:46 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Chinese Char]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://tech.david-cheong.com/?p=2330</guid>
		<description><![CDATA[the following example use the javascript regular express to validate the value where Chinese charecter is not allow.

&#60;script   language=javascript&#62;   
    
  function   checkChinese(){   
    
      var   re   =   /[\u4E00-\u9FA0]+/;   
    
      if   (re.test(form1.tjiccode.value))   
    
      {   
    
          alert(&#8220;不允许输入中文!&#8221;); [...]
No related posts.]]></description>
		<wfw:commentRss>http://tech.david-cheong.com/2010/01/form-validation-not-allow-chinese-cheractor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>URL Hidden Tricks to check page&#8217;s last update</title>
		<link>http://tech.david-cheong.com/2009/10/url-hidden-tricks-to-check-pages-last-update/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=url-hidden-tricks-to-check-pages-last-update</link>
		<comments>http://tech.david-cheong.com/2009/10/url-hidden-tricks-to-check-pages-last-update/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 08:44:47 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[web site]]></category>

		<guid isPermaLink="false">http://tech.david-cheong.com/?p=2166</guid>
		<description><![CDATA[Check the page&#8217;s last update date

Go to any web site as you like
Delete the content in the URL address bar
Enter the following script javascript:alert(document.lastModified)
Press Enter
This code will display any web page&#8217;s last update including the specific time, so by using the this script, you will know that the content you get is that the latest [...]
No related posts.]]></description>
		<wfw:commentRss>http://tech.david-cheong.com/2009/10/url-hidden-tricks-to-check-pages-last-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Attaching event in both MSIE and FF with Javascript</title>
		<link>http://tech.david-cheong.com/2009/08/attaching-event-in-both-msie-and-ff-with-javascript/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=attaching-event-in-both-msie-and-ff-with-javascript</link>
		<comments>http://tech.david-cheong.com/2009/08/attaching-event-in-both-msie-and-ff-with-javascript/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 03:58:35 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Browser]]></category>

		<guid isPermaLink="false">http://tech.david-cheong.com/?p=1751</guid>
		<description><![CDATA[Most of the developer who working in MS platform will be used to the javascript window.attachEvent.

But maybe some of you don&#8217;t know that window.attachEvent is only working on IE7+ and Opera only. Your coding will hit an javascrpit error when running at IE 6 or any version of firefox.

To resolve this issue, you may need [...]
No related posts.]]></description>
		<wfw:commentRss>http://tech.david-cheong.com/2009/08/attaching-event-in-both-msie-and-ff-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabled certain key to be entered using javascript</title>
		<link>http://tech.david-cheong.com/2009/06/disabled-certain-key-to-be-entered-using-javascript/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=disabled-certain-key-to-be-entered-using-javascript</link>
		<comments>http://tech.david-cheong.com/2009/06/disabled-certain-key-to-be-entered-using-javascript/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 10:03:12 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://tech.david-cheong.com/?p=1651</guid>
		<description><![CDATA[There is always the good way to prevent and verify the using enter data, especially for each text box or text area.

The following is script use the event object to check on the key code that the user enter, return false to prevent user to enter.

Disabled space to be enter in javascript
onKeypress=&#8221;if (event.keyCode == 32) [...]
No related posts.]]></description>
		<wfw:commentRss>http://tech.david-cheong.com/2009/06/disabled-certain-key-to-be-entered-using-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

