-
Archives
- May 2026
- April 2026
- November 2025
- September 2023
- March 2019
- March 2018
- June 2017
- May 2017
- November 2016
- September 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- April 2015
- December 2014
- October 2014
- September 2014
- May 2014
- April 2014
- March 2014
- January 2014
- November 2013
- October 2013
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
-
Meta
Category Archives: javascript
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
Leave a comment
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
Leave a comment
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
Leave a comment
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
Leave a comment
Super Powerful Debugging Function in Javascript
Super powerful debugging function in javascript. This function will output your variable in question to firebug console or html page. With this function you can debug anything from Object, array, string, integer, etc. It is also recursive safe. 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117/** * … Continue reading
Posted in javascript, Web Development
Leave a comment