Category Archives: javascript

Why Ember.js Still Makes Sense for Big Teams Building Big Apps

In a JavaScript world dominated by React’s flexibility and Vue’s friendliness, Ember.js can feel like the quiet older sibling who keeps showing up to work in a suit. It’s opinionated, batteries-included, and unapologetically convention-driven. Which is exactly why some of … Continue reading

Posted in javascript | Tagged , , | Comments Off on Why Ember.js Still Makes Sense for Big Teams Building Big Apps

Internet Explorer (IE) friendly table DOM manipulation

Occasionaly we can manipulate HTML DOM easily by accessing the innerHTML of an element. In IE however, the following elements’ innerHTML are read only: COL, COLGROUP, FRAMESET, HEAD, HTML, STYLE, TABLE, TBODY, TFOOT, THEAD, TITLE, TR. This code will fail … Continue reading

Posted in javascript, Web Development | Comments Off on Internet Explorer (IE) friendly table DOM manipulation

Extjs – Ext.apply

1234567891011121314151617181920console.clear(); var a = {     abc : 1,     def : 2 }; var b = {     abc : 1.1,     def : 2.2 }; var c = Ext.apply( a , b ); //Ext.apply … Continue reading

Posted in Ext Js, javascript, Web Development | Comments Off on Extjs – Ext.apply

JSON Jumpstart

123456789101112131415161718192021222324252627282930313233343536373839404142434445/**  * In JSON, curly brackets mark a new object ({ or })  * Any variable inside the object — also known as the object’s attribute — is  * accessible using the dot syntax (object.attribute) or the bracket syntax  * … Continue reading

Posted in javascript, Web Development | Comments Off on JSON Jumpstart

Extending an Existing Javascript Function

This is how you extend an existing javascript function. Assuming that you want to preserve the existing function and the “added algorithm” is somewhat only needed to be executed based on a certain environment only. 123456789101112function abc(){   alert(’abc is … Continue reading

Posted in javascript, Web Development | Comments Off on Extending an Existing Javascript Function

Super Powerful Debugging Function in Javascript

Super powerful debugging function in JavaScript. This function will output your variable in question to the Firebug console or the HTML page. With it you can debug anything from an Object, array, string, integer, etc. It is also recursive-safe. 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117/** … Continue reading

Posted in javascript, Web Development | Comments Off on Super Powerful Debugging Function in Javascript