<?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>Shamasis Bhattacharya &#187; javascript</title> <atom:link href="http://www.shamasis.net/tags/javascript/feed/" rel="self" type="application/rss+xml" /><link>http://www.shamasis.net</link> <description>All you need to know what I know</description> <lastBuildDate>Fri, 18 Nov 2011 12:58:16 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="search"
href="http://www.shamasis.net/opensearch"
type="application/opensearchdescription+xml"
title="Content Search" /> <item><title>Quick Validating JavaScript Function Before Call</title><link>http://www.shamasis.net/2011/11/quick-validating-javascript-function-before-call/</link> <comments>http://www.shamasis.net/2011/11/quick-validating-javascript-function-before-call/#comments</comments> <pubDate>Fri, 18 Nov 2011 12:31:54 +0000</pubDate> <dc:creator>Shamasis Bhattacharya</dc:creator> <category><![CDATA[Technical Publications]]></category> <category><![CDATA[compact-codes]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[tips]]></category> <guid
isPermaLink="false">http://www.shamasis.net/?p=1500</guid> <description><![CDATA[There are many instances where we have to execute a function where we have no idea whether it actually exists or not. Let&#8217;s say for example, a function expects another function passed to it as parameter, which would later be executed as callback. A very common usage would be the callback function sent to AJAX [...]]]></description> <wfw:commentRss>http://www.shamasis.net/2011/11/quick-validating-javascript-function-before-call/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Setting Default Variable Value in JavaScript</title><link>http://www.shamasis.net/2011/09/setting-default-variable-value-in-javascript/</link> <comments>http://www.shamasis.net/2011/09/setting-default-variable-value-in-javascript/#comments</comments> <pubDate>Fri, 09 Sep 2011 19:20:15 +0000</pubDate> <dc:creator>Shamasis Bhattacharya</dc:creator> <category><![CDATA[Technical Publications]]></category> <category><![CDATA[compact-codes]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[tips]]></category> <guid
isPermaLink="false">http://www.shamasis.net/?p=1492</guid> <description><![CDATA[Often, there are conditions where we need to provide a default value of a variable if it is undefined. As a case study, we will take up the situation, where we are passing a Boolean value to function and if the input is true, some action has to be taken. In case someone does not [...]]]></description> <wfw:commentRss>http://www.shamasis.net/2011/09/setting-default-variable-value-in-javascript/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Infinite Ways to Detect Array in JavaScript</title><link>http://www.shamasis.net/2011/08/infinite-ways-to-detect-array-in-javascript/</link> <comments>http://www.shamasis.net/2011/08/infinite-ways-to-detect-array-in-javascript/#comments</comments> <pubDate>Fri, 26 Aug 2011 22:09:55 +0000</pubDate> <dc:creator>Shamasis Bhattacharya</dc:creator> <category><![CDATA[Technical Publications]]></category> <category><![CDATA[javascript]]></category> <guid
isPermaLink="false">http://www.shamasis.net/?p=1485</guid> <description><![CDATA[JavaScript (ECMA script in general) is a miraculous language. It allows us to prove that coding is creativity. One reason for that is the numerous ways a single objective can be coded. For instance, checking whether a variable is an Array, can be done in four different ways. And probably more! Some months back I [...]]]></description> <wfw:commentRss>http://www.shamasis.net/2011/08/infinite-ways-to-detect-array-in-javascript/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Minor Bug Fix to jQuery Touch Drag Plugin</title><link>http://www.shamasis.net/2011/07/minor-bug-fix-to-jquery-touch-drag-plugin/</link> <comments>http://www.shamasis.net/2011/07/minor-bug-fix-to-jquery-touch-drag-plugin/#comments</comments> <pubDate>Sat, 30 Jul 2011 15:49:27 +0000</pubDate> <dc:creator>Shamasis Bhattacharya</dc:creator> <category><![CDATA[Project Updates]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[plugin]]></category> <category><![CDATA[software release]]></category> <guid
isPermaLink="false">http://www.shamasis.net/2011/07/minor-bug-fix-to-jquery-touch-drag-plugin/</guid> <description><![CDATA[On 21st of June, the jQuery drag event plugin with iPhone (iOS) touch support was released. It has helped to add touch-based drag functionality to many existing web applications using the jQuery drag plugin. A minor update is released for this plugin that fixes the possibility of lack of touch-drag functionality on certain touch devices. [...]]]></description> <wfw:commentRss>http://www.shamasis.net/2011/07/minor-bug-fix-to-jquery-touch-drag-plugin/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>JavaScript Drag Events on iPhone and Other Touch Based Devices</title><link>http://www.shamasis.net/2011/06/javascript-drag-events-on-iphone-and-other-touch-based-devices/</link> <comments>http://www.shamasis.net/2011/06/javascript-drag-events-on-iphone-and-other-touch-based-devices/#comments</comments> <pubDate>Tue, 21 Jun 2011 16:45:31 +0000</pubDate> <dc:creator>Shamasis Bhattacharya</dc:creator> <category><![CDATA[Project Updates]]></category> <category><![CDATA[ios]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[plugin]]></category> <guid
isPermaLink="false">http://www.shamasis.net/?p=1472</guid> <description><![CDATA[For quite a while this week, we were trying to work on dragging JavaScript elements on iPad and other devices with touch input. For our case, we already had jQuery included in our codes, hence we were tempted to use the touchmove event and depend on native jQuery to do the rest. Things turned out [...]]]></description> <wfw:commentRss>http://www.shamasis.net/2011/06/javascript-drag-events-on-iphone-and-other-touch-based-devices/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Optimized Trapping of Undefined-like Values In JavaScript</title><link>http://www.shamasis.net/2010/12/optimized-trapping-of-undefined-like-values-in-javascript/</link> <comments>http://www.shamasis.net/2010/12/optimized-trapping-of-undefined-like-values-in-javascript/#comments</comments> <pubDate>Wed, 29 Dec 2010 19:49:29 +0000</pubDate> <dc:creator>Shamasis Bhattacharya</dc:creator> <category><![CDATA[FusionCharts]]></category> <category><![CDATA[javascript]]></category> <guid
isPermaLink="false">http://www.shamasis.net/?p=1423</guid> <description><![CDATA[While working on the FusionCharts JavaScript charts, there was a frequent need to test whether a variable was null, undefined, NaN or an empty string. The “frequent” need was so frequent that the probing function alone took up 15% of the chart’s execution time. A very straightforward function checks for the usual set of values [...]]]></description> <wfw:commentRss>http://www.shamasis.net/2010/12/optimized-trapping-of-undefined-like-values-in-javascript/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Dynamically Update FusionCharts XML Attributes</title><link>http://www.shamasis.net/2010/05/dynamically-update-fusioncharts-xml-attributes/</link> <comments>http://www.shamasis.net/2010/05/dynamically-update-fusioncharts-xml-attributes/#comments</comments> <pubDate>Sat, 29 May 2010 19:53:52 +0000</pubDate> <dc:creator>Shamasis Bhattacharya</dc:creator> <category><![CDATA[FusionCharts]]></category> <category><![CDATA[Technical Publications]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[regular expression]]></category> <guid
isPermaLink="false">http://www.shamasis.net/?p=1377</guid> <description><![CDATA[This snippet of code adds the functionality to dynamically update FusionCharts DataXML root attributes (also known as "chart attributes") on-the-fly using JavaScript. In case user requires to update chart cosmetics like turn off animation or change chart caption, this script will allow developers to do that in one line of code! See Live Demo Download [...]]]></description> <wfw:commentRss>http://www.shamasis.net/2010/05/dynamically-update-fusioncharts-xml-attributes/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Making FusionCharts Occupy 100% Width and Height of Container</title><link>http://www.shamasis.net/2010/03/making-fusioncharts-occupy-100-width-and-height-of-container/</link> <comments>http://www.shamasis.net/2010/03/making-fusioncharts-occupy-100-width-and-height-of-container/#comments</comments> <pubDate>Tue, 30 Mar 2010 06:32:31 +0000</pubDate> <dc:creator>Shamasis Bhattacharya</dc:creator> <category><![CDATA[FusionCharts]]></category> <category><![CDATA[Technical Publications]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[plugin]]></category> <guid
isPermaLink="false">http://www.shamasis.net/?p=1323</guid> <description><![CDATA[Under certain circumstances, one may want FusionCharts to occupy 100% (or a certain percentage) width and height of the container element. This can be achieved using two methods using the jQuery Plugin for FusionCharts. Using percentage value for width or height If you set width: &#34;100%&#34; and/or height: &#34;100%&#34;, it sets the HTML width and [...]]]></description> <wfw:commentRss>http://www.shamasis.net/2010/03/making-fusioncharts-occupy-100-width-and-height-of-container/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>Transpose An Array In JavaScript and jQuery</title><link>http://www.shamasis.net/2010/02/transpose-an-array-in-javascript-and-jquery/</link> <comments>http://www.shamasis.net/2010/02/transpose-an-array-in-javascript-and-jquery/#comments</comments> <pubDate>Wed, 24 Feb 2010 17:00:51 +0000</pubDate> <dc:creator>Shamasis Bhattacharya</dc:creator> <category><![CDATA[Technical Publications]]></category> <category><![CDATA[array]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[jquery]]></category> <category><![CDATA[prototype]]></category> <guid
isPermaLink="false">http://www.shamasis.net/?p=1256</guid> <description><![CDATA[This JavaScript code adds the functionality to transpose a two-dimensional JavaScript array (array within array). Transposing, in simple terms, is to interchange rows and columns of a matrix (two-dimensional array). It also extends jQuery to allow transposing of arrays using common jQuery syntax. The logic behind the code is extremely simple and it is coded [...]]]></description> <wfw:commentRss>http://www.shamasis.net/2010/02/transpose-an-array-in-javascript-and-jquery/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Executing jQuery Within FusionCharts Link Attribute</title><link>http://www.shamasis.net/2010/02/executing-jquery-within-fusioncharts-link-attribute/</link> <comments>http://www.shamasis.net/2010/02/executing-jquery-within-fusioncharts-link-attribute/#comments</comments> <pubDate>Sun, 14 Feb 2010 05:22:45 +0000</pubDate> <dc:creator>Shamasis Bhattacharya</dc:creator> <category><![CDATA[FusionCharts]]></category> <category><![CDATA[Technical Publications]]></category> <category><![CDATA[javascript]]></category> <category><![CDATA[jquery]]></category> <guid
isPermaLink="false">http://www.shamasis.net/2010/02/executing-jquery-within-fusioncharts-link-attribute/</guid> <description><![CDATA[FusionCharts Flash charting suite has an amazing integration with JavaScript. It allows charts to be created using JavaScript, raises appropriate JavaScript events, allows charts to be updated using its simple JavaScript API and a lot more. There is a blog post on FusionCharts blog, describing the same. When it comes to JavaScript, we can never [...]]]></description> <wfw:commentRss>http://www.shamasis.net/2010/02/executing-jquery-within-fusioncharts-link-attribute/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
