<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5548338356602108640</id><updated>2026-02-27T12:41:49.623-08:00</updated><category term="References"/><category term="Code.HTML5"/><category term="Code.Javascript"/><category term="Dev. Tools"/><category term="Code.jQuery Mobile"/><category term="jQuery Mobile"/><category term="Code.jQuery"/><category term="news"/><category term="Javascript"/><category term="HTML5"/><category term="info"/><category term="DART"/><category term="Google APIs"/><category term="Maps"/><category term="Code.CSS"/><category term="Fundamental.Javascript"/><category term="Google"/><category term="Tools"/><category term="how to"/><category term="Code.jQuery UI"/><category term="Library"/><category term="jQuery"/><category term="Microsoft"/><category term="Web Service"/><category term="Android"/><category term="Geo"/><category term="misc"/><category term="Code.HTML"/><category term="Code.Node.js"/><category term="GO"/><category term="Windows 8"/><category term="CSS"/><category term="Apple"/><category term="Chrome"/><category term="Python"/><category term="Code.Python"/><category term="Ubuntu"/><category term="Dev.Windows Store Apps"/><category term="Firefox OS"/><category term="HTML"/><category term="IPv6"/><category term="NetBeans"/><category term="Node.js"/><category term="OpenLayers"/><category term="RGraph"/><category term="Web Apps"/><category term="WebGL"/><category term="appMobi"/><category term="c++"/><category term="code.dart"/><category term="iOS"/><category term="mobile Apps"/><category term="webOS"/><category term="CSS3"/><category term="Code.socket.io"/><category term="Design Patterns"/><category term="Enyo"/><category term="Flickr"/><category term="Intel"/><category term="Linux"/><category term="OpenStreetMap"/><category term="Polymer"/><category term="Qt"/><category term="Raphaël"/><category term="Sencha Touch"/><category term="Visual Studio"/><category term="Yahoo APIs"/><category term="YouTube"/><category term="iPhone"/><category term="jqMobi"/><category term="APIs"/><category term="ASP.NET"/><category term="BlackBerry"/><category term="Boot to Gecko"/><category term="C#"/><category term="Chrome Dev Editor"/><category term="Code.WebGL"/><category term="D"/><category term="Datejs"/><category term="Ext JS"/><category term="Firefox OS WebApps"/><category term="GIMP"/><category term="Geochart"/><category term="Google App Engine"/><category term="Google Chart Tools"/><category term="Google Maps JavaScript API"/><category term="Google Maps SDK for iPhone"/><category term="Google Web Designer"/><category term="Kindle Fire"/><category term="Mobile Web"/><category term="Monkey"/><category term="Native Client (NaCl)"/><category term="Open Source"/><category term="Packaged Apps"/><category term="PhoneGap"/><category term="Photo Spheres"/><category term="SEO"/><category term="Search"/><category term="Syntax Highlighting"/><category term="ThemeRoller"/><category term="Tkinter"/><category term="Ubuntu Phone"/><category term="Visual Basic"/><category term="W3C"/><category term="Web Speech API"/><category term="Web lab"/><category term="Web workers"/><category term="Windows"/><category term="Windows 8.1"/><category term="XAML"/><category term="XDK"/><category term="Yahoo"/><category term="adsense"/><category term="jQuery UI"/><category term="promotion"/><category term="simulator"/><category term="tablet"/><category term="wxPython"/><title type='text'>Mobile-Web-App</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Erik</name><uri>http://www.blogger.com/profile/04983894331825656853</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>501</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-667217440677705325</id><published>2014-11-27T12:27:00.000-08:00</published><updated>2014-11-27T12:27:17.434-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><title type='text'>Introduction to jQuery, from MicrosoftLearningExperiences</title><content type='html'>&lt;b&gt;jQuery 101:&lt;/b&gt;&amp;nbsp;Learn exactly what jQuery is and why you&#39;ve heard so much about it. Explore considerations, such as when to take jQuery as a dependency and how to include it locally or via a CDN, and find out about the history and contributors to this very popular JavaScript library.​&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//channel9.msdn.com/Series/Introduction-to-jQuery/01/player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;br /&gt;
&lt;b&gt;Selection:&lt;/b&gt;&amp;nbsp;Arguably the most powerful offering of jQuery over raw JavaScript, at least in the early days, was its ability to select one or more DOM elements using the popular CSS syntax. Take a look at this feature and how you can use it to select exactly what you need to manipulate.&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//channel9.msdn.com/Series/Introduction-to-jQuery/02/player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Manipulating the DOM:&lt;/b&gt;&amp;nbsp;Learn about selecting the elements you need, and see how to manipulate them.​&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//channel9.msdn.com/Series/Introduction-to-jQuery/03/player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;br /&gt;
&lt;b&gt;Events:&lt;/b&gt;&amp;nbsp;One of the other super helpful features of jQuery is its provision for event handling. See how to tie your code up to user events so that the right thing happens at the right time.​&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//channel9.msdn.com/Series/Introduction-to-jQuery/04/player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;br /&gt;
&lt;b&gt;Effects:&lt;/b&gt;&amp;nbsp;Effects give jQuery-enabled apps a little bit of jazz. Get the details on effects, like fades, slides, and other animations.​&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//channel9.msdn.com/Series/Introduction-to-jQuery/05/player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;br /&gt;
&lt;b&gt;Ajax and Async:&lt;/b&gt;&amp;nbsp;Modern web apps don&#39;t just do a fetch and then sit there. There are often a lot of behind-the-scenes calls to web services and other online content. Take a look at how jQuery covers this case.​&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//channel9.msdn.com/Series/Introduction-to-jQuery/06/player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;br /&gt;
&lt;b&gt;Libraries:&lt;/b&gt;&amp;nbsp;jQuery is obviously not the only library out there and may not be the right tool for the job. If you&#39;re wondering whether you should use it and curious about what other libraries it works well with, be sure to check out this module.​​&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//channel9.msdn.com/Series/Introduction-to-jQuery/07/player&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
~ &lt;a href=&quot;http://channel9.msdn.com/Niners/MicrosoftLearningExperiences&quot; target=&quot;_blank&quot;&gt;MicrosoftLearningExperiences&lt;/a&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/667217440677705325/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/11/introduction-to-jquery-from.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/667217440677705325'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/667217440677705325'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/11/introduction-to-jquery-from.html' title='Introduction to jQuery, from MicrosoftLearningExperiences'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-627281429816785372</id><published>2014-10-22T19:11:00.002-07:00</published><updated>2014-10-22T19:11:32.262-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="References"/><title type='text'>jQuery 2 Recipes: A Problem-Solution Approach</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcxO19cLx0UJKzAbLdFK_9ArJ_zRgCdBLnCaj69VFJ9XClCjkfd0WH6X-GUjwO0VMBJdO0iIBtGigSmX_23dfPSWlrzq8j6wr1nsudOxqpzjY7PZuSUi3fF-buR4eU7oYEgnJM9utJeGdw/s1600/jQuery+2+Recipes.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcxO19cLx0UJKzAbLdFK_9ArJ_zRgCdBLnCaj69VFJ9XClCjkfd0WH6X-GUjwO0VMBJdO0iIBtGigSmX_23dfPSWlrzq8j6wr1nsudOxqpzjY7PZuSUi3fF-buR4eU7oYEgnJM9utJeGdw/s1600/jQuery+2+Recipes.jpg&quot; height=&quot;320&quot; width=&quot;259&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;a href=&quot;http://www.amazon.com/gp/product/1430264330/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1430264330&amp;amp;linkCode=as2&amp;amp;tag=pointe&amp;amp;linkId=SUWF6BZXYD5ILFIG&quot;&gt;jQuery 2 Recipes: A Problem-Solution Approach&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://ir-na.amazon-adsystem.com/e/ir?t=pointe&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=1430264330&quot; height=&quot;1&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
jQuery is often referred to as the &#39;write less, do more&#39; JavaScript library. It allows a few clear lines of elegant, well-tested, code to replace many pages of complex hand-coded script, speeding development times and providing substantial cost savings. You will find jQuery 2 Recipes&#39; problem-solution approach to be an excellent value and a feature-packed resource as you begin to include jQuery in your own projects. This book is bursting with fully-worked example recipes showing the core jQuery frameworks (jQuery, jQuery Mobile, jQuery UI) in action. Starting with fundamental principals and progressing to more advanced topics you&#39;ll be shown how to make the very best use of jQuery every step of the way. Early on, you&#39;ll learn to work confidently with dynamic data and to handle the jQuery events that form the foundation of your application. We&#39;ll then build on this foundation to demonstrate how fully working user-interface animations and AJAX data-validation can be constructed within jQuery. We&#39;ll show how add-on libraries like jQwidgets can be deployed to create professional quality apps for both the desktop and web with minimal coding. Finally, a full set of debugging and error-handling recipes is included to help you track down bugs and ensure your code is as robust as it can be. What you&#39;ll learn This book contains a comprehensive collection of recipes that will help you solve a wide range of jQuery 2.0 problems. Follow working examples of the main features of all three core jQuery frameworks (jQuery, jQuery UI and jQuery Mobile) in action. See how to integrate jqWidgets into your application effectively. Learn the techniques to create and implement custom animations and effects&lt;br /&gt;
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&amp;amp;OneJS=1&amp;amp;Operation=GetAdHtml&amp;amp;MarketPlace=US&amp;amp;source=ac&amp;amp;ref=tf_til&amp;amp;ad_type=product_link&amp;amp;tracking_id=pointe&amp;amp;marketplace=amazon&amp;amp;region=US&amp;amp;placement=1430264330&amp;amp;asins=1430264330&amp;amp;linkId=MTEKUWJ2IE5PU3B4&amp;amp;show_border=true&amp;amp;link_opens_in_new_window=true&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;
&lt;/iframe&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/627281429816785372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/10/jquery-2-recipes-problem-solution.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/627281429816785372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/627281429816785372'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/10/jquery-2-recipes-problem-solution.html' title='jQuery 2 Recipes: A Problem-Solution Approach'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcxO19cLx0UJKzAbLdFK_9ArJ_zRgCdBLnCaj69VFJ9XClCjkfd0WH6X-GUjwO0VMBJdO0iIBtGigSmX_23dfPSWlrzq8j6wr1nsudOxqpzjY7PZuSUi3fF-buR4eU7oYEgnJM9utJeGdw/s72-c/jQuery+2+Recipes.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-7568708962515529971</id><published>2014-10-13T02:23:00.000-07:00</published><updated>2014-10-13T02:23:04.100-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery"/><category scheme="http://www.blogger.com/atom/ns#" term="jQuery UI"/><category scheme="http://www.blogger.com/atom/ns#" term="References"/><title type='text'>JavaScript &amp; jQuery: The Missing Manual, 3rd Edition</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbfshBzZDhj_I4c8_YrISmNTtZfmeqJ0F8qb70FC2Dads6b8bED89nbhDfiehxx0Hg4Y1PsRMumIQOzRoJ8aOHeRK0Q7akO5HliEGq2f4EsS7wiSwafKVg4Q5Ln-fHQzhlQAbEyGFt4eoZ/s1600/JavaScript+&amp;+jQuery+-+The+Missing+Manual.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbfshBzZDhj_I4c8_YrISmNTtZfmeqJ0F8qb70FC2Dads6b8bED89nbhDfiehxx0Hg4Y1PsRMumIQOzRoJ8aOHeRK0Q7akO5HliEGq2f4EsS7wiSwafKVg4Q5Ln-fHQzhlQAbEyGFt4eoZ/s1600/JavaScript+&amp;+jQuery+-+The+Missing+Manual.jpg&quot; height=&quot;200&quot; width=&quot;151&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;a href=&quot;http://www.amazon.com/gp/product/1491947071/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=1491947071&amp;amp;linkCode=as2&amp;amp;tag=pointe&amp;amp;linkId=5QTPHYTYBP7HARUL&quot;&gt;JavaScript &amp;amp; jQuery: The Missing Manual&lt;/a&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;http://ir-na.amazon-adsystem.com/e/ir?t=pointe&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=1491947071&quot; height=&quot;1&quot; style=&quot;border: none !important; margin: 0px !important;&quot; width=&quot;1&quot; /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
JavaScript lets you supercharge your HTML with animation, interactivity, and visual effects—but many web designers find the language hard to learn. This easy-to-read guide not only covers JavaScript basics, but also shows you how to save time and effort with the jQuery and jQuery UI libraries of prewritten JavaScript code. You’ll build web pages that feel and act like desktop programs—with little or no programming.&lt;br /&gt;
&lt;br /&gt;
The important stuff you need to know:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Pull back the curtain on JavaScript.&lt;/b&gt; Learn how to build a basic program with this language.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Get up to speed on jQuery.&lt;/b&gt; Quickly assemble JavaScript programs that work well on multiple web browsers.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Transform your user interface.&lt;/b&gt; Learn jQuery UI, the JavaScript library for interface features like design themes and controls.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Make your pages interactive.&lt;/b&gt; Create JavaScript events that react to visitor actions.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Use animations and effects.&lt;/b&gt; Build drop-down navigation menus, pop-ups, automated slideshows, and more.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Collect data with web forms.&lt;/b&gt; Create easy-to-use forms that ensure more accurate visitor responses.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Practice with living examples.&lt;/b&gt; Get step-by-step tutorials for web projects you can build yourself.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;iframe frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;//ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&amp;amp;OneJS=1&amp;amp;Operation=GetAdHtml&amp;amp;MarketPlace=US&amp;amp;source=ac&amp;amp;ref=tf_til&amp;amp;ad_type=product_link&amp;amp;tracking_id=pointe&amp;amp;marketplace=amazon&amp;amp;region=US&amp;amp;placement=1491947071&amp;amp;asins=1491947071&amp;amp;linkId=PJOONVRS55FYKQPX&amp;amp;show_border=true&amp;amp;link_opens_in_new_window=true&quot; style=&quot;height: 240px; width: 120px;&quot;&gt;
&lt;/iframe&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/7568708962515529971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/10/javascript-jquery-missing-manual-3rd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/7568708962515529971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/7568708962515529971'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/10/javascript-jquery-missing-manual-3rd.html' title='JavaScript &amp; jQuery: The Missing Manual, 3rd Edition'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbfshBzZDhj_I4c8_YrISmNTtZfmeqJ0F8qb70FC2Dads6b8bED89nbhDfiehxx0Hg4Y1PsRMumIQOzRoJ8aOHeRK0Q7akO5HliEGq2f4EsS7wiSwafKVg4Q5Ln-fHQzhlQAbEyGFt4eoZ/s72-c/JavaScript+&amp;+jQuery+-+The+Missing+Manual.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-5964677362473664882</id><published>2014-08-13T16:30:00.000-07:00</published><updated>2014-08-13T16:30:05.217-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="Chrome Dev Editor"/><category scheme="http://www.blogger.com/atom/ns#" term="Dev. Tools"/><title type='text'>Chrome Dev Editor (developer preview) - tool for building apps on Chrome platform</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/syZnOXFbScRPqEHji4OVZXsLUBuaFZb1OkWh-FY0-ZRotieQXqLuRHpWfIU_AYvOz7NSr6-X=s640-h400-e365-rw&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/syZnOXFbScRPqEHji4OVZXsLUBuaFZb1OkWh-FY0-ZRotieQXqLuRHpWfIU_AYvOz7NSr6-X=s640-h400-e365-rw&quot; height=&quot;250&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;Chrome Dev Editor (CDE)&lt;/b&gt; is a developer tool for building apps on the Chrome platform - Chrome Apps and Web Apps, in JavaScript or Dart. CDE is built as a Chrome App written in Dart and uses Polymer. CDE runs on Windows, Mac, Linux, and Chrome OS! CDE supports Git, Polymer, and mobile development.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;https://chrome.google.com/webstore/detail/spark/pnoffddplpippgcfjdhbmhkofpnaalpg&quot; target=&quot;_blank&quot;&gt;Install Chrome Dev Editor (developer preview) from Chrome Web Store.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
Check out the video from Google I/O 2014 about building apps on the Chrome platform and how Chrome Dev Editor (CDE) is build.&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/NNLnTz6yIc4&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/5964677362473664882/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/08/chrome-dev-editor-developer-preview.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/5964677362473664882'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/5964677362473664882'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/08/chrome-dev-editor-developer-preview.html' title='Chrome Dev Editor (developer preview) - tool for building apps on Chrome platform'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/syZnOXFbScRPqEHji4OVZXsLUBuaFZb1OkWh-FY0-ZRotieQXqLuRHpWfIU_AYvOz7NSr6-X=s72-h400-c-e365-rw" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-207463988164811258</id><published>2014-08-07T23:57:00.001-07:00</published><updated>2014-08-07T23:57:26.112-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Node.js"/><title type='text'>Node.js Tutorial with Ryan Dahl, creator of Node.js</title><content type='html'>&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/eqlZD21DME0&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/207463988164811258/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/08/nodejs-tutorial-with-ryan-dahl-creator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/207463988164811258'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/207463988164811258'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/08/nodejs-tutorial-with-ryan-dahl-creator.html' title='Node.js Tutorial with Ryan Dahl, creator of Node.js'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-4233771266891833180</id><published>2014-07-16T05:45:00.000-07:00</published><updated>2014-07-16T05:45:42.235-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Code.Node.js"/><title type='text'>Node.js example - retrieve dir and base using path module</title><content type='html'>The &quot;path&quot; module contains utilities for handling and transforming file paths.&lt;br /&gt;
&lt;br /&gt;
Example to using path module:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi05ACDM1d4Ush1RQq5j5160zkr0MgHOrU4IOJ4I7vG9P8GujOzZbJgFN-v1N27qtkkn6ULnGv6Bp0i4qEpIFfnLfmFu-3Z-O_-8P2yRBnR5UpZrIIGdi0cQNaUsKHbUOKEtLanRmASVW3-/s1600/node.js_path.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi05ACDM1d4Ush1RQq5j5160zkr0MgHOrU4IOJ4I7vG9P8GujOzZbJgFN-v1N27qtkkn6ULnGv6Bp0i4qEpIFfnLfmFu-3Z-O_-8P2yRBnR5UpZrIIGdi0cQNaUsKHbUOKEtLanRmASVW3-/s1600/node.js_path.png&quot; height=&quot;196&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: javascript&quot;&gt;var http = require(&quot;http&quot;);
var path = require(&quot;path&quot;);
 
http.createServer(function(request, response){
 
 var dirname = path.dirname(decodeURI(request.url));
 var basename = path.basename(decodeURI(request.url));
 
 response.writeHead(200, {&quot;Content-Type&quot;: &quot;text/plain&quot;});
 response.write(&quot;Hello World! \n&quot;);
 response.write(&quot;from mobile-web-app.blogspot.com \n&quot;);
 
 response.write(&quot;dirname: &quot; + dirname + &quot;\n&quot;);
 response.write(&quot;basename: &quot; + basename + &quot;\n&quot;);
 
 response.end();
}).listen(8888);
&lt;/pre&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;center&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/3X3qnxdM68k&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/center&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/4233771266891833180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/07/nodejs-example-retrieve-dir-and-base.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/4233771266891833180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/4233771266891833180'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/07/nodejs-example-retrieve-dir-and-base.html' title='Node.js example - retrieve dir and base using path module'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi05ACDM1d4Ush1RQq5j5160zkr0MgHOrU4IOJ4I7vG9P8GujOzZbJgFN-v1N27qtkkn6ULnGv6Bp0i4qEpIFfnLfmFu-3Z-O_-8P2yRBnR5UpZrIIGdi0cQNaUsKHbUOKEtLanRmASVW3-/s72-c/node.js_path.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-1938753180601374477</id><published>2014-06-27T10:40:00.003-07:00</published><updated>2014-06-27T10:40:49.291-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fundamental.Javascript"/><title type='text'>Example of Javascript String comparison</title><content type='html'>Example of Javascript String comparison:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script&amp;gt;
console.log(&quot;mobile-web-app Javascript String comparison&quot;);
var result1 = &#39;abc&#39;===new String(&#39;abc&#39;);
var result2 = &#39;abc&#39;===new String(&#39;abc&#39;).toString();
var result3 = &#39;abc&#39;== new String(&#39;abc&#39;);
var result4 = &#39;abc&#39;== new String(&#39;abc&#39;).toString();

console.log(&quot;&#39;abc&#39;===new String(&#39;abc&#39;) : &quot; + result1);
console.log(&quot;&#39;abc&#39;===new String(&#39;abc&#39;).toString() : &quot; + result2);
console.log(&quot;&#39;abc&#39;== new String(&#39;abc&#39;) : &quot; + result3);
console.log(&quot;&#39;abc&#39;== new String(&#39;abc&#39;).toString() : &quot; + result4);
&amp;lt;/script&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTzfZMK5w49h94SeOhWm4jpLrNtmIY5eNd8rjQg1TeyOSpeYw9MeuSdqMHe7adQ17t_uZEzDcJu98BwnOcQ5CsGTw8Mnhnbch6kn_p6cMjuQPB1XE7a1AWEPk4i2rxUa3erV9nnRjgkYkL/s1600/Javascript+String+comparison.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTzfZMK5w49h94SeOhWm4jpLrNtmIY5eNd8rjQg1TeyOSpeYw9MeuSdqMHe7adQ17t_uZEzDcJu98BwnOcQ5CsGTw8Mnhnbch6kn_p6cMjuQPB1XE7a1AWEPk4i2rxUa3erV9nnRjgkYkL/s1600/Javascript+String+comparison.png&quot; height=&quot;160&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/1938753180601374477/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/example-of-javascript-string-comparison.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/1938753180601374477'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/1938753180601374477'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/example-of-javascript-string-comparison.html' title='Example of Javascript String comparison'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTzfZMK5w49h94SeOhWm4jpLrNtmIY5eNd8rjQg1TeyOSpeYw9MeuSdqMHe7adQ17t_uZEzDcJu98BwnOcQ5CsGTw8Mnhnbch6kn_p6cMjuQPB1XE7a1AWEPk4i2rxUa3erV9nnRjgkYkL/s72-c/Javascript+String+comparison.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-4214259557515957418</id><published>2014-06-19T15:00:00.001-07:00</published><updated>2014-06-19T15:00:37.312-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Polymer"/><title type='text'>Polymer: making Web Components accessible</title><content type='html'>Custom elements allow you to create your own encapsulated components on the web, however there are a number of questions that arise from this. How do you build elements that are accessible to everyone? Can they be navigated with a keyboard? How well do they work with screenreaders and ARIA? Learn how to create accessible elements that all your users can benefit from.&lt;br/&gt;
&lt;br/&gt;
&lt;center&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/_IBiXfxhF-A&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/center&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/4214259557515957418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/polymer-making-web-components-accessible.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/4214259557515957418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/4214259557515957418'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/polymer-making-web-components-accessible.html' title='Polymer: making Web Components accessible'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-2583701684330957304</id><published>2014-06-18T22:37:00.000-07:00</published><updated>2014-06-18T22:37:04.437-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Google APIs"/><category scheme="http://www.blogger.com/atom/ns#" term="Polymer"/><title type='text'>Polymer: Interacting with Google Services with HTML only</title><content type='html'>&lt;i&gt;Google has over 250 APIs and services. Every API is different! Eric Bidelman shows you how you can interact with Google services without writing code!&lt;/i&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;center&gt;
&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/eORqFaf_QzM&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/center&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/2583701684330957304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/polymer-interacting-with-google.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/2583701684330957304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/2583701684330957304'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/polymer-interacting-with-google.html' title='Polymer: Interacting with Google Services with HTML only'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-251529998890697919</id><published>2014-06-17T09:16:00.001-07:00</published><updated>2014-06-17T09:16:28.782-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Code.Node.js"/><category scheme="http://www.blogger.com/atom/ns#" term="Code.socket.io"/><title type='text'>Node.js + socket.io, emit events between server and client, bi-directionally.</title><content type='html'>&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/nKAYLyQgvZM&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;br /&gt;
&lt;br /&gt;
server.js&lt;br /&gt;
&lt;pre class=&quot;brush: javascript&quot;&gt;var serverapp = require(&#39;http&#39;).createServer(handler);
var io = require(&#39;socket.io&#39;).listen(serverapp);
var fs = require(&#39;fs&#39;);

serverapp.listen(8888);

function handler (req, res) {
    fs.readFile(&quot;page.html&quot;,
        function (err, data) {
            if (err) {
                throw err; 
            }
            res.writeHead(200);
            res.end(data);
        });
}

io.sockets.on(&quot;connection&quot;, function (socket) {
    socket.on(&quot;event_button_clicked&quot;, function (data) {
        console.log(data.text);
        io.sockets.emit(&quot;event_upatetext&quot;, { value: &quot;hello &quot; + data.text});
    });
});
&lt;/pre&gt;
&lt;br /&gt;
page.html&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;
&amp;lt;p&amp;gt;from mobile-web-app.blogspot.com&amp;lt;/p&amp;gt;

&amp;lt;form action=&quot;&quot;&amp;gt;
&amp;lt;input 
    type=&quot;text&quot; id=&quot;intext&quot;&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;input 
    type=&quot;button&quot; 
    id=&quot;button1&quot; 
    value=&quot;Click ME&quot; 
    onclick=&quot;button_clicked(this);&quot;&amp;gt;
&amp;lt;/form&amp;gt;
&amp;lt;p id=&quot;outtext&quot;&amp;gt;&amp;lt;/p&amp;gt;

&amp;lt;script src=&quot;/socket.io/socket.io.js&quot;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
var socket = io.connect(document.location.href);

function button_clicked(button)
{
    socket.emit(
        &quot;event_button_clicked&quot;, 
        { text: document.getElementById(&quot;intext&quot;).value });
}

socket.on(&quot;event_upatetext&quot;, function (data) {
    console.log(&quot;event_upatetext&quot; + &quot;: &quot; + data.value);
    document.getElementById(&quot;outtext&quot;).innerHTML = data.value;
});
&amp;lt;/script&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/251529998890697919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/nodejs-socketio-emit-events-between.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/251529998890697919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/251529998890697919'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/nodejs-socketio-emit-events-between.html' title='Node.js + socket.io, emit events between server and client, bi-directionally.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-8804937717004609203</id><published>2014-06-15T08:01:00.002-07:00</published><updated>2014-06-15T08:08:22.293-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Code.Node.js"/><category scheme="http://www.blogger.com/atom/ns#" term="Code.socket.io"/><title type='text'>Node.js + socket.io, receive data from client</title><content type='html'>Example to get data from client using Node.js + socket.io.&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/6JEwQqMPzMA&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;br /&gt;
To use socket.io, you have to install it using npm&lt;br /&gt;
$ &lt;b&gt;npm install socket.io&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
server.js&lt;br/&gt;
&lt;pre class=&quot;brush: javascript&quot;&gt;var serverapp = require(&#39;http&#39;).createServer(handler);
var io = require(&#39;socket.io&#39;).listen(serverapp);
var fs = require(&#39;fs&#39;);

serverapp.listen(8888);

function handler (req, res) {
    fs.readFile(&quot;page.html&quot;,
        function (err, data) {
            if (err) {
                throw err; 
            }
            res.writeHead(200);
            res.end(data);
        });
}

io.sockets.on(&quot;connection&quot;, function (socket) {
    socket.on(&quot;event_button_clicked&quot;, function (data) {
        console.log(data.text);
    });
});
&lt;/pre&gt;
&lt;br /&gt;
page.html&lt;br/&gt;
&lt;pre class=&quot;brush: html&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;
&amp;lt;p&amp;gt;from mobile-web-app.blogspot.com&amp;lt;/p&amp;gt;

&amp;lt;form action=&quot;&quot;&amp;gt;
&amp;lt;input 
    type=&quot;text&quot; id=&quot;intext&quot;&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;input 
    type=&quot;button&quot; 
    id=&quot;button1&quot; 
    value=&quot;Click ME&quot; 
    onclick=&quot;button_clicked(this);&quot;&amp;gt;
&amp;lt;/form&amp;gt;

&amp;lt;script src=&quot;/socket.io/socket.io.js&quot;&amp;gt;&amp;lt;/script&amp;gt;
&amp;lt;script&amp;gt;
var socket = io.connect(document.location.href);

function button_clicked(button)
{
    socket.emit(
        &quot;event_button_clicked&quot;, 
        { text: document.getElementById(&quot;intext&quot;).value });
}
&amp;lt;/script&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/8804937717004609203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/nodejs-socketio-receive-data-from-client.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/8804937717004609203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/8804937717004609203'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/nodejs-socketio-receive-data-from-client.html' title='Node.js + socket.io, receive data from client'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-5741352401163419956</id><published>2014-06-14T09:55:00.001-07:00</published><updated>2014-06-14T09:57:12.288-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Code.Node.js"/><title type='text'>Node.js example to handle POST method</title><content type='html'>&lt;center&gt;
&lt;iframe width=&quot;480&quot; height=&quot;360&quot; src=&quot;//www.youtube.com/embed/vw0oRu0F4UA&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;br/&gt;
server.js&lt;br /&gt;
&lt;pre class=&quot;brush: javascript&quot;&gt;var http = require(&quot;http&quot;);
var fs = require(&#39;fs&#39;);

fs.readFile(&#39;page.html&#39;,function (err, data){

    if (err) {
        throw err;  
    }
    var htmlBody = data;
    
    http.createServer(function(request, response){
        
        console.log(&quot;request.method: &quot; + request.method);

        request.on(&quot;data&quot;, function (data) {
            console.log(&quot;data: &quot; + data);   
        });
        
        request.on(&#39;end&#39;, function () {
            console.log(&quot;end:&quot;);
            response.writeHead(200, {&quot;Content-Type&quot;: &quot;text/html&quot;});
            response.write(htmlBody);
            response.end();
        });
    
    }).listen(8888);
        
});
&lt;/pre&gt;
&lt;br /&gt;
page.html&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;
&amp;lt;p&amp;gt;from mobile-web-app.blogspot.com&amp;lt;/p&amp;gt;

&amp;lt;form method=&quot;POST&quot;&amp;gt;
Input: 
&amp;lt;input type=&quot;text&quot; name=&quot;intext&quot;&amp;gt;&amp;lt;br&amp;gt;
&amp;lt;input type=&quot;submit&quot; value=&quot;POST&quot;&amp;gt;
&amp;lt;/form&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/5741352401163419956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/nodejs-example-to-handle-post-method.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/5741352401163419956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/5741352401163419956'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/nodejs-example-to-handle-post-method.html' title='Node.js example to handle POST method'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-4344064868767513814</id><published>2014-06-12T12:29:00.001-07:00</published><updated>2014-06-12T12:34:15.345-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Code.Node.js"/><title type='text'>Node.js load external html file</title><content type='html'>Example to load html code from external file, instead of &lt;a href=&quot;http://mobile-web-app.blogspot.com/2014/06/return-html-code-in-nodejs.html&quot;&gt;code in js&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSXj54GSFl0rDoq-zUReuDgdZ0CxKj1fbfWGlyeReM5OUJ-YQFf9GAqcVEARGEDBSdMQFk1nYtNmx6o51Vpukwlc2UnF62byORhAEAmAG8HoKyIz9YaxY8UG0R4pIYsYcv9rUXXPju94Bk/s1600/nodejs_fs.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSXj54GSFl0rDoq-zUReuDgdZ0CxKj1fbfWGlyeReM5OUJ-YQFf9GAqcVEARGEDBSdMQFk1nYtNmx6o51Vpukwlc2UnF62byORhAEAmAG8HoKyIz9YaxY8UG0R4pIYsYcv9rUXXPju94Bk/s1600/nodejs_fs.png&quot; height=&quot;232&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
server.js&lt;br /&gt;
&lt;pre class=&quot;brush: javascript&quot;&gt;var http = require(&quot;http&quot;);
var fs = require(&quot;fs&quot;);

http.createServer(function(request, response){
    
    fs.readFile(&quot;page.html&quot;, function (err, data){
        if (err) {
            throw err; 
        }
        response.writeHead(200, {&quot;Content-Type&quot;: &quot;text/html&quot;});
        response.write(data);
        response.end();
    });
    
}).listen(8888);
&lt;/pre&gt;
&lt;br /&gt;
page.html&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;
&amp;lt;p&amp;gt;from mobile-web-app.blogspot.com&amp;lt;/p&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/4344064868767513814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/nodejs-load-external-html-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/4344064868767513814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/4344064868767513814'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/nodejs-load-external-html-file.html' title='Node.js load external html file'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSXj54GSFl0rDoq-zUReuDgdZ0CxKj1fbfWGlyeReM5OUJ-YQFf9GAqcVEARGEDBSdMQFk1nYtNmx6o51Vpukwlc2UnF62byORhAEAmAG8HoKyIz9YaxY8UG0R4pIYsYcv9rUXXPju94Bk/s72-c/nodejs_fs.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-4606890301528586650</id><published>2014-06-12T09:56:00.000-07:00</published><updated>2014-06-12T12:30:11.365-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Code.Node.js"/><title type='text'>Return html code in Node.js</title><content type='html'>&lt;pre class=&quot;brush: javascript&quot;&gt;var http = require(&quot;http&quot;);

http.createServer(function(request, response){
    
    var htmlbody = 
        &quot;&amp;lt;html&amp;gt;&quot; +
        &quot;&amp;lt;head&amp;gt;&quot; +
        &quot;&amp;lt;/head&amp;gt;&quot; +
        &quot;&amp;lt;body&amp;gt;&quot; +
        &quot;&amp;lt;h1&amp;gt;Hello World!&amp;lt;/h1&amp;gt;&quot; +
        &quot;&amp;lt;p&amp;gt;from mobile-web-app.blogspot.com&amp;lt;/p&amp;gt;&quot; + 
        &quot;&amp;lt;/body&amp;gt;&quot; +
        &quot;&amp;lt;/html&amp;gt;&quot;;
        
    response.writeHead(200, {&quot;Content-Type&quot;: &quot;text/html&quot;});
    response.write(htmlbody);
    response.end();
}).listen(8888);
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg9CL9GC0QUAQHA1zYP4gn3PalEV1Z3wPVj8IIPxdUEFH_vk1X751DvO8PFKZ0qyEHv_fBILteqboqmu0Abwp30uZnDEIRG3llbH927UkMIlVR0YkmLn1IoCBGCPeae8aTyA3n1SFjSnjU/s1600/node_htmlbody.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg9CL9GC0QUAQHA1zYP4gn3PalEV1Z3wPVj8IIPxdUEFH_vk1X751DvO8PFKZ0qyEHv_fBILteqboqmu0Abwp30uZnDEIRG3llbH927UkMIlVR0YkmLn1IoCBGCPeae8aTyA3n1SFjSnjU/s1600/node_htmlbody.png&quot; height=&quot;232&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
-&amp;nbsp;&lt;a href=&quot;http://mobile-web-app.blogspot.com/2014/06/nodejs-load-external-html-file.html&quot;&gt;Node.js load external html file&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/4606890301528586650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/return-html-code-in-nodejs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/4606890301528586650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/4606890301528586650'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/return-html-code-in-nodejs.html' title='Return html code in Node.js'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgg9CL9GC0QUAQHA1zYP4gn3PalEV1Z3wPVj8IIPxdUEFH_vk1X751DvO8PFKZ0qyEHv_fBILteqboqmu0Abwp30uZnDEIRG3llbH927UkMIlVR0YkmLn1IoCBGCPeae8aTyA3n1SFjSnjU/s72-c/node_htmlbody.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-7745527318430279193</id><published>2014-06-11T11:17:00.002-07:00</published><updated>2014-06-11T11:17:32.968-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Code.Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="Code.Node.js"/><title type='text'>Get date in Node.js using Javascript</title><content type='html'>To get date in Node.js, we can use javascript&#39;s Date object.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;pre class=&quot;brush: javascript&quot;&gt;var http = require(&quot;http&quot;);
var url = require(&quot;url&quot;);

http.createServer(function(request, response){
    response.writeHead(200, {&quot;Content-Type&quot;: &quot;text/plain&quot;});
    response.write(&quot;Hello World!\n&quot;);
    response.write(&quot;from mobile-web-app.blogspot.com\n\n&quot;);
    
    var now = new Date();
    var year = now.getFullYear();
    var month = now.getMonth();
    var date = now.getDate();

    response.write(
        now + &quot;\n&quot;);
    response.write(
        date + &quot;/&quot; + (month+1) + &quot;/&quot; + year + &quot;\n&quot;);

    response.end();
}).listen(8888);
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiODES0NifYLOgDD4-VgmHKaPv_3A5i-Jdpef6RwAl65JSQi7LX19Rj5OrUeMSXmFaT8FZwnMrix8AJTQZktW7OHXqeGGD2RWJYyTuq3GBsZTW31PtZILYdepo8J6iMxxiuyupcBuE_S50v/s1600/date.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiODES0NifYLOgDD4-VgmHKaPv_3A5i-Jdpef6RwAl65JSQi7LX19Rj5OrUeMSXmFaT8FZwnMrix8AJTQZktW7OHXqeGGD2RWJYyTuq3GBsZTW31PtZILYdepo8J6iMxxiuyupcBuE_S50v/s1600/date.png&quot; height=&quot;216&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/7745527318430279193/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/get-date-in-nodejs-using-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/7745527318430279193'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/7745527318430279193'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/get-date-in-nodejs-using-javascript.html' title='Get date in Node.js using Javascript'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiODES0NifYLOgDD4-VgmHKaPv_3A5i-Jdpef6RwAl65JSQi7LX19Rj5OrUeMSXmFaT8FZwnMrix8AJTQZktW7OHXqeGGD2RWJYyTuq3GBsZTW31PtZILYdepo8J6iMxxiuyupcBuE_S50v/s72-c/date.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-3443632714780530098</id><published>2014-06-10T07:09:00.002-07:00</published><updated>2014-06-10T07:13:21.627-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Code.Node.js"/><title type='text'>&quot;Hello World&quot;, http server using Node.js</title><content type='html'>A simplest http server implemented using Node.js.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm2J5dZVZUiVqXBrelpwmBoofxO6hU6c-VArYAaH58TMVzVDCd9o1CaGBpbKNE4ssNEbgm6TsiIJIeaIgAaW9KqNmXDkudoE-vMQohi-ubACNdt3AMQ8LJB9PPyPFQh_5SagDyttCeNIvN/s1600/node.js_helloworld.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm2J5dZVZUiVqXBrelpwmBoofxO6hU6c-VArYAaH58TMVzVDCd9o1CaGBpbKNE4ssNEbgm6TsiIJIeaIgAaW9KqNmXDkudoE-vMQohi-ubACNdt3AMQ8LJB9PPyPFQh_5SagDyttCeNIvN/s1600/node.js_helloworld.png&quot; height=&quot;223&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Create file node server.js.&lt;br/&gt;
&lt;pre class=&quot;brush: javascript&quot;&gt;var http = require(&quot;http&quot;);

http.createServer(function(request, response){
 response.writeHead(200, {&quot;Content-Type&quot;: &quot;text/plain&quot;});
 response.write(&quot;Hello World! &quot;);
 response.write(&quot;from mobile-web-app.blogspot.com&quot;);
 response.end();
}).listen(8888);
&lt;/pre&gt;
&lt;br /&gt;
Run&lt;br /&gt;
&lt;br /&gt;
$ &lt;b&gt;node server.js&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then visit &lt;b&gt;http://localhost:8888/&lt;/b&gt; in browser to load &quot;Hello World&quot;.&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/Lbs12cGGzWE&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/3443632714780530098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/hello-world-http-server-using-nodejs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/3443632714780530098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/3443632714780530098'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/hello-world-http-server-using-nodejs.html' title='&quot;Hello World&quot;, http server using Node.js'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm2J5dZVZUiVqXBrelpwmBoofxO6hU6c-VArYAaH58TMVzVDCd9o1CaGBpbKNE4ssNEbgm6TsiIJIeaIgAaW9KqNmXDkudoE-vMQohi-ubACNdt3AMQ8LJB9PPyPFQh_5SagDyttCeNIvN/s72-c/node.js_helloworld.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-8610648464796163229</id><published>2014-06-09T03:36:00.002-07:00</published><updated>2014-06-09T03:36:40.379-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Code.Javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="Code.jQuery"/><title type='text'>Implement fade-in/fade-out effect with jQuery</title><content type='html'>Example to implement&amp;nbsp;fade-in/fade-out effect using jQuery:&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;//www.youtube.com/embed/hLB7eohXnt0&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: java&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
    &amp;lt;h1 id=&quot;titleh1&quot;&amp;gt;Fade-in/Fade-out example&amp;lt;/h1&amp;gt;
    &amp;lt;button id=&quot;go&quot;&amp;gt;Run&amp;lt;/button&amp;gt;

    &amp;lt;script src=&quot;http://code.jquery.com/jquery-2.1.1.min.js&quot;&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;script&amp;gt;
        $(function(){

            function runFadeOutFadeIn(){

                $(&quot;#titleh1&quot;).fadeTo(
                    &quot;slow&quot;, 0, function(){
                        $(&quot;#titleh1&quot;).fadeTo(
                            &quot;slow&quot;, 1, function(){});
                    });
            }
            
            $(&quot;#go&quot;).click(
                function(){
                    runFadeOutFadeIn();
                });
        });
    &amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/8610648464796163229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/implement-fade-infade-out-effect-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/8610648464796163229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/8610648464796163229'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/06/implement-fade-infade-out-effect-with.html' title='Implement fade-in/fade-out effect with jQuery'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-3745375402332841475</id><published>2014-05-13T02:30:00.000-07:00</published><updated>2014-05-13T02:30:03.863-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="APIs"/><title type='text'>The Mystery And Magic Of APIs</title><content type='html'>&lt;i&gt;What&#39;s an application programming interface, or API? You may not realize it, but every time you&#39;re using an app, you&#39;re connecting to all kinds of APIs. In this video, ReadWrite editor-in-chief explains what APIs are and why they matter to the Internet. (Presented by Intel)&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ReadWriteExplain: The Mystery And Magic Of APIs&lt;/b&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/a4z0jJek8UM&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/3745375402332841475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/05/the-mystery-and-magic-of-apis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/3745375402332841475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/3745375402332841475'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/05/the-mystery-and-magic-of-apis.html' title='The Mystery And Magic Of APIs'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-9185016868179264450</id><published>2014-04-30T08:16:00.005-07:00</published><updated>2014-04-30T08:16:58.824-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Javascript"/><title type='text'>Where is variable defined, in JavaScript scope.</title><content type='html'>&lt;i&gt;Whether you&#39;re coming to JavaScript from another language, or you&#39;re learning JavaScript as your first language, the way scope works -- that is, when and where your variables are defined -- might surprise you.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/ZoFlcv2ByBo&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/9185016868179264450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/04/where-is-variable-defined-in-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/9185016868179264450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/9185016868179264450'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/04/where-is-variable-defined-in-javascript.html' title='Where is variable defined, in JavaScript scope.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-76265379990182189</id><published>2014-04-26T22:09:00.001-07:00</published><updated>2014-04-26T22:09:02.911-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fundamental.Javascript"/><title type='text'>Apply function to array elements to create another array, map()</title><content type='html'>This example show how to create array by applying function to a existing array, using map().&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;body onload=&quot;doit();&quot;&amp;gt;

&amp;lt;h1&amp;gt;mobile-web-app.blogspot.com&amp;lt;/h1&amp;gt;
&amp;lt;p id=&quot;p1&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;div id=&quot;resultdiv&quot;&amp;gt;&amp;lt;/div&amp;gt;
 
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
 
function doit()
{   var array = [0, 45, 90, 180, 270, 360];

    document.getElementById(&quot;p1&quot;).innerHTML=array;
    var resultDiv = document.getElementById(&quot;resultdiv&quot;);
    
    var array2 = array.map(function(x) {return Math.sin(x * (Math.PI / 180))});
    printAll(array2, resultDiv);
    
    var array3 = array.map(cos);
    printAll(array3, resultDiv);
    
}

function cos(x){
    return Math.cos(x * (Math.PI / 180));
}

function printAll(arr, container){
    arr.forEach(
        function(element, index){
            var newP = document.createElement(&quot;p&quot;);
            newP.innerHTML = index + &quot; : &quot; + element;
            container.appendChild(newP);
        }
    );
}

&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxTnCUetqM_5AxvcFjjZJldklMk5ebP24zDat1dhyphenhyphenLN1W8DZKnj-JnqFhthEdGq1Ca5nl0fUWphU80wzYNSkpx7hyVveXYe9Ove3HHrcyB3r1aCFFkYPEnjMY18v8DaE4jesBhsdYiCb4y/s1600/Javascript_array_map.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxTnCUetqM_5AxvcFjjZJldklMk5ebP24zDat1dhyphenhyphenLN1W8DZKnj-JnqFhthEdGq1Ca5nl0fUWphU80wzYNSkpx7hyVveXYe9Ove3HHrcyB3r1aCFFkYPEnjMY18v8DaE4jesBhsdYiCb4y/s1600/Javascript_array_map.png&quot; height=&quot;396&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/76265379990182189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/04/apply-function-to-array-elements-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/76265379990182189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/76265379990182189'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/04/apply-function-to-array-elements-to.html' title='Apply function to array elements to create another array, map()'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxTnCUetqM_5AxvcFjjZJldklMk5ebP24zDat1dhyphenhyphenLN1W8DZKnj-JnqFhthEdGq1Ca5nl0fUWphU80wzYNSkpx7hyVveXYe9Ove3HHrcyB3r1aCFFkYPEnjMY18v8DaE4jesBhsdYiCb4y/s72-c/Javascript_array_map.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-3741459588706327505</id><published>2014-04-26T19:10:00.002-07:00</published><updated>2014-04-26T19:11:02.017-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fundamental.Javascript"/><title type='text'>Javascript example: access all elements in array using forEach()</title><content type='html'>Javascript example to access all elements in array using forEach().&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;body onload=&quot;doit();&quot;&amp;gt;

&amp;lt;h1&amp;gt;mobile-web-app.blogspot.com&amp;lt;/h1&amp;gt;
&amp;lt;p id=&quot;p1&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;div id=&quot;resultdiv&quot;&amp;gt;&amp;lt;/div&amp;gt;
 
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
 
function doit()
{   var array = [1, &#39;a&#39;, &#39;BCD&#39;, 3.1416];

    document.getElementById(&quot;p1&quot;).innerHTML=array;
    
    var resultDiv = document.getElementById(&quot;resultdiv&quot;);
    
    array.forEach(
        function(element, index){
            var newP = document.createElement(&quot;p&quot;);
            newP.innerHTML = index + &quot; : &quot; + element + &quot; : &quot; + typeof(element);
            resultDiv.appendChild(newP);
        }
    );
}
 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIZJBOtmIv8tNb47qNXxXR8W49GTy1EF040z6vR_RhEkUUqyThcMkQwn1sGGUqlSMZ1mxztwLjvuFc0OHWrnAZwCWSO_QBN5F_Y5mu_9X-sr7BSu-HIqGw3qvFKMJDHoaa7mPqUeb7vTDU/s1600/Javascript_array_forEach.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIZJBOtmIv8tNb47qNXxXR8W49GTy1EF040z6vR_RhEkUUqyThcMkQwn1sGGUqlSMZ1mxztwLjvuFc0OHWrnAZwCWSO_QBN5F_Y5mu_9X-sr7BSu-HIqGw3qvFKMJDHoaa7mPqUeb7vTDU/s1600/Javascript_array_forEach.png&quot; height=&quot;367&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/3741459588706327505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/04/javascript-example-access-all-elements.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/3741459588706327505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/3741459588706327505'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/04/javascript-example-access-all-elements.html' title='Javascript example: access all elements in array using forEach()'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIZJBOtmIv8tNb47qNXxXR8W49GTy1EF040z6vR_RhEkUUqyThcMkQwn1sGGUqlSMZ1mxztwLjvuFc0OHWrnAZwCWSO_QBN5F_Y5mu_9X-sr7BSu-HIqGw3qvFKMJDHoaa7mPqUeb7vTDU/s72-c/Javascript_array_forEach.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-9065280101633606292</id><published>2014-04-25T17:27:00.001-07:00</published><updated>2014-04-25T17:30:07.388-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fundamental.Javascript"/><title type='text'>Join array elements to a string</title><content type='html'>The &lt;b&gt;join()&lt;/b&gt; method joins the array elements into a string.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;body onload=&quot;doit();&quot;&amp;gt;

&amp;lt;h1&amp;gt;mobile-web-app.blogspot.com&amp;lt;/h1&amp;gt;
&amp;lt;p id=&quot;p1&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p id=&quot;p1a&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p id=&quot;p1b&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p id=&quot;p1c&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p id=&quot;p1d&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p id=&quot;p2&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p id=&quot;p3&quot;&amp;gt;&amp;lt;/p&amp;gt;
 
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
 
function doit()
{   var array = [1, &#39;a&#39;, &#39;BCD&#39;, 3.1416];

    document.getElementById(&quot;p1&quot;).innerHTML=array;
    
    document.getElementById(&quot;p1a&quot;).innerHTML=array[0] + &quot;: &quot; + typeof(array[0]);
    document.getElementById(&quot;p1b&quot;).innerHTML=array[1] + &quot;: &quot; + typeof(array[1]);
    document.getElementById(&quot;p1c&quot;).innerHTML=array[2] + &quot;: &quot; + typeof(array[2]);
    document.getElementById(&quot;p1d&quot;).innerHTML=array[3] + &quot;: &quot; + typeof(array[3]);
    
    var array2 = array.join(&#39;+&#39;);
    
    document.getElementById(&quot;p2&quot;).innerHTML=&quot;array.join(&#39;+&#39;): &quot; + array2 + &quot;: &quot; + typeof(array2);
    document.getElementById(&quot;p3&quot;).innerHTML=&quot;array.join(&#39;&#39;): &quot; + array.join(&#39;&#39;);
    
}
 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixG2b6snM1vh-fG9hifG8V02YvFJHEE7ix0N8NHymllXP7eu1pzQ0S5SJNm-z8_GqSka7Oqd5lPhlAtQ1KIgX6XgYIxeT3VSJblb1vz7OClSSqBbL-6ZkO9R0GtN1tSJabjRy-6YUt4PRG/s1600/javascript_join.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixG2b6snM1vh-fG9hifG8V02YvFJHEE7ix0N8NHymllXP7eu1pzQ0S5SJNm-z8_GqSka7Oqd5lPhlAtQ1KIgX6XgYIxeT3VSJblb1vz7OClSSqBbL-6ZkO9R0GtN1tSJabjRy-6YUt4PRG/s1600/javascript_join.png&quot; height=&quot;367&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/9065280101633606292/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/04/join-array-elements-to-string.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/9065280101633606292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/9065280101633606292'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/04/join-array-elements-to-string.html' title='Join array elements to a string'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixG2b6snM1vh-fG9hifG8V02YvFJHEE7ix0N8NHymllXP7eu1pzQ0S5SJNm-z8_GqSka7Oqd5lPhlAtQ1KIgX6XgYIxeT3VSJblb1vz7OClSSqBbL-6ZkO9R0GtN1tSJabjRy-6YUt4PRG/s72-c/javascript_join.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-9038624090703630817</id><published>2014-04-25T00:15:00.001-07:00</published><updated>2014-04-25T00:15:05.145-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Fundamental.Javascript"/><title type='text'>Javascript example: add and remove elements from Array</title><content type='html'>This example show how to add/remove elements from array, using Javascript:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;push()&lt;/b&gt;: Add new elements to the end of an array&lt;/li&gt;
&lt;li&gt;&lt;b&gt;pop()&lt;/b&gt;: Remove the last element of an array&lt;/li&gt;
&lt;li&gt;&lt;b&gt;unshift()&lt;/b&gt;: Add new elements to the beginning of an array&lt;/li&gt;
&lt;li&gt;&lt;b&gt;shift()&lt;/b&gt;: Remove the first element of an array&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class=&quot;brush: javascript&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;body onload=&quot;doit();&quot;&amp;gt;

&amp;lt;h1&amp;gt;mobile-web-app.blogspot.com&amp;lt;/h1&amp;gt;
&amp;lt;p id=&quot;p1&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p id=&quot;p2&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p id=&quot;p3a&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p id=&quot;p3b&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p id=&quot;p4a&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p id=&quot;p4b&quot;&amp;gt;&amp;lt;/p&amp;gt;
&amp;lt;p id=&quot;p5&quot;&amp;gt;&amp;lt;/p&amp;gt;
 
&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;
 
function doit()
{ var array = [&#39;A&#39;, &#39;B&#39;, &#39;C&#39;, &#39;D&#39;];
 document.getElementById(&quot;p1&quot;).innerHTML=array;
 
 array.push(&#39;E&#39;); //Add element in end
 document.getElementById(&quot;p2&quot;).innerHTML=&quot;push(&#39;E&#39;): &quot; + array;
 
 var eleFirst = array.shift(); //remove first element
 document.getElementById(&quot;p3a&quot;).innerHTML=&quot;array.shift(): &quot; + eleFirst;
 document.getElementById(&quot;p3b&quot;).innerHTML=array;
 
 var eleLast = array.pop();  //remove last element
 document.getElementById(&quot;p4a&quot;).innerHTML=&quot;array.pop(): &quot; + eleLast;
 document.getElementById(&quot;p4b&quot;).innerHTML=array;
 
 array.unshift(&#39;a&#39;); //Add element in front
 document.getElementById(&quot;p5&quot;).innerHTML=&quot;unshift(&#39;a&#39;): &quot; + array;
}
 
&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN-ip8H8mxWgihZHNR5xr2Ipz2LTjlK_R5nLKVvMwYrVKbQEP2p73mU0ZmLLuWrhoo-Msh23us4tBGGfLjPH_q7Y5S99wb7uP2EOFLzrhN7SIzvEitSImcxBUU_V3tAyCTBdXPr6av-d-y/s1600/Javascript_array.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN-ip8H8mxWgihZHNR5xr2Ipz2LTjlK_R5nLKVvMwYrVKbQEP2p73mU0ZmLLuWrhoo-Msh23us4tBGGfLjPH_q7Y5S99wb7uP2EOFLzrhN7SIzvEitSImcxBUU_V3tAyCTBdXPr6av-d-y/s1600/Javascript_array.png&quot; height=&quot;367&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/9038624090703630817/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/04/javascript-example-add-and-remove.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/9038624090703630817'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/9038624090703630817'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/04/javascript-example-add-and-remove.html' title='Javascript example: add and remove elements from Array'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN-ip8H8mxWgihZHNR5xr2Ipz2LTjlK_R5nLKVvMwYrVKbQEP2p73mU0ZmLLuWrhoo-Msh23us4tBGGfLjPH_q7Y5S99wb7uP2EOFLzrhN7SIzvEitSImcxBUU_V3tAyCTBdXPr6av-d-y/s72-c/Javascript_array.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-8348192273153896871</id><published>2014-03-21T07:05:00.000-07:00</published><updated>2014-03-21T07:20:45.497-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Code.HTML5"/><title type='text'>Set color using HTML5 color type input</title><content type='html'>Example to using HTML5 color type input, read with Javascript to change background color of page.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush: html&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;body&amp;gt;
Select color: 
&amp;lt;input id=&quot;colorpick&quot; type=&quot;color&quot; name=&quot;favcolor&quot; onchange=&quot;JavaScript:colorchanged()&quot;&amp;gt;&amp;lt;br&amp;gt;

&amp;lt;script type=&quot;text/javascript&quot;&amp;gt;

function colorchanged()
{
 console.log(&quot;colorchanged()&quot;);
 var colorval = document.getElementById(&quot;colorpick&quot;).value;
 console.log(colorval);
 document.body.style.background = colorval;
}

&amp;lt;/script&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/pre&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;315&quot; src=&quot;//www.youtube.com/embed/6dIrHdtmOZk&quot; width=&quot;560&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/8348192273153896871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/03/set-color-using-html5-color-type-input.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/8348192273153896871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/8348192273153896871'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/03/set-color-using-html5-color-type-input.html' title='Set color using HTML5 color type input'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5548338356602108640.post-5030373552657194646</id><published>2014-03-14T17:40:00.002-07:00</published><updated>2014-03-14T17:40:25.192-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="HTML5"/><category scheme="http://www.blogger.com/atom/ns#" term="References"/><title type='text'>O&#39;Reilly Webcast: Getting Started with HTML5 Canvas</title><content type='html'>This video introduce the basics of working with HTML5 canvas: how to create canvas draw lines, shapes and as time permits other canvas capabilities. This webcast talk is designed for people without a background with HTML 5 canvas.&lt;br /&gt;
&lt;br /&gt;
&lt;center&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;360&quot; src=&quot;//www.youtube.com/embed/j6JF4dWmvdM&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;
&lt;/center&gt;
</content><link rel='replies' type='application/atom+xml' href='http://mobile-web-app.blogspot.com/feeds/5030373552657194646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mobile-web-app.blogspot.com/2014/03/oreilly-webcast-getting-started-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/5030373552657194646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5548338356602108640/posts/default/5030373552657194646'/><link rel='alternate' type='text/html' href='http://mobile-web-app.blogspot.com/2014/03/oreilly-webcast-getting-started-with.html' title='O&#39;Reilly Webcast: Getting Started with HTML5 Canvas'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/15665535849909897065</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>