Categories
Archives
- January 2012
- December 2011
- September 2011
- August 2011
- July 2011
- June 2011
- April 2011
- March 2011
- December 2010
- November 2010
- August 2010
- January 2010
- December 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- July 2008
- April 2008
- March 2008
- February 2008
- December 2007
- November 2007
- October 2007
- September 2007
Category Archives: javascript
uncaught exception: [Exception… “Not enough arguments” (NS_ERROR_XPC_NOT_ENOUGH_ARGS)
I was testing my web application on FireFox5 , I faced “not enough arguments” issue. During investigation what I found is while opening the page we are hitting actual issues inside ‘addEventListener’ function. I searched web around behavior of ‘addEventListener’ … Continue reading
Javascript: Make independent copy of array using slice() method
Sometime it happens that we need to make copy of an array but in javascript when we assign an array to new it assign it with reference means if you delete anything from new array it will delete it from … Continue reading
Posted in javascript
Leave a comment
Remove element from Array
What if you want to delete an element from Array ?? Mostly people use delete command but it leaves undefined behind it >>> var list = [1,2,3]; >>> delete list[1]; >>> list [1, undefined, 3] Now try splice instead of … Continue reading
Posted in javascript
Leave a comment
IE – Expected identifier, string or number
If you're getting this error, chances are you have an extra comma after a curly brace: a = { b: function() { }, c: function() { }, } Get rid of the trailing comma and your JS error … Continue reading
Posted in ExtJs, javascript, Troubleshoot
Leave a comment
Javascript – Add Float numbers upto 2 Decimal
Hi, Today I was creating a page that is basically a calculator page have many text fields. All of them can accept number upto 2 decimal and onBlur() I have to total that numbers and display on the page <script … Continue reading
Posted in javascript
Leave a comment
“Learning jQuery” Book review
Book review by Techcrony.info | Publisher: Packt. Author(s): Jonathan Chaffer and Karl Swedberg | Reviewed on: April 8th, 2008' jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid … Continue reading
Posted in javascript, review
Leave a comment