jQuery Validator Plugin and IE8

On October 30, 2009, in Javascript, Browsers, by Anuj Gakhar

I had been using the super jQuery Validator plugin in one of my projects. And everything was working fine, except in IE8. Isnt that typical of IE? Anyways, the problem was that I was using the validator plugin quite heavily and one of the forms simply refused to work in IE8. I did not try […]

Tagged with:  

jQuery Validation Plugin and notEqualTo Rule

On August 26, 2009, in Javascript, by Anuj Gakhar

I have been using the excellent jQuery Validation plugin in my latest project. It provides all the basic rules that you will need for validating your form. However, I had a form with 2 username fields on it and the requirement was that they should not be equal to each other.  I guess this is […]

Tagged with:  

jQuery form Plugin and Return Key Submit

On April 16, 2009, in Javascript, by Anuj Gakhar

I have been using this excellent jQuery Form Plugin lately and I came across a little gotcha today. First of all, this jQuery Form Plugin allows you to easily and unobtrusively upgrade HTML forms to use AJAX. The main methods, ajaxForm and ajaxSubmit, gather information from the form element to determine how to manage the […]

Tagged with:  

Using jQuery to change part of the className attribute

On April 8, 2009, in Javascript, by Anuj Gakhar

I had a situation today, where I wanted to replace part of the class of a given DOM element. To be more precise, the DOM element I was dealing with was like this :-

Tagged with:  

Book Review: Learning jQuery 1.3 by Packt Publishing

On March 24, 2009, in Javascript, Books, by Anuj Gakhar

I just finished reading the Learning jQuery 1.3 book, authored by Karl Swedberg and Jonathan Chaffer and published by Packt Publishing . They sent me a free review copy of the book and this is a personal and independent review of the book.

Tagged with:  

Using jQuery to Load Alternate Images

On March 16, 2009, in Javascript, by Anuj Gakhar

We can use the onerror event of an img tag to load an alternate image if the main image is not found. Something like this :- [xhtml]<img src="my_image.jpg" onerror="this.src=’offline.jpg’" />[/xhtml] The above HTML code tries to load my_image.jpg and if not found, loads offline.jpg as an alternate. This is pretty good because this means you […]

Tagged with:  

Populating cftextarea richtext with Javascript

On February 11, 2009, in ColdFusion, Javascript, by Anuj Gakhar

I had a cftextarea with richtext enabled and I had another dropdown which was supposed to change the value of the cftextarea when selected. So, I was doing it the old way as I would have imagined.

Tagged with:  

Book Review : Learning Dojo by Packt Publishing

On January 31, 2009, in Javascript, Books, by Anuj Gakhar

I just finished reading the Learning Dojo book, authored by Peter Svensson and published by Packt Publishing . They sent me a free review copy of the book and this is a personal and independent review of the book.

Tagged with:  

Learning Dojo

On January 18, 2009, in Javascript, by Anuj Gakhar

I have used several Javascript libraries in the past (including ExtJS, jQuery etc) and they are all pretty good in what they do. Recently, I got a chance to look into the Dojo AJAX JavaScript Toolkit and from the looks of it, it appears to be a promising and impressive toolkit. Here is a little […]

Tagged with:  

ExtJs : Disappearing Grid Headers in IE6

On July 17, 2008, in Javascript, Browsers, by Anuj Gakhar

I just came across this issue and thoughts its best to do a quick post for future reference. If you happen to use ExtJs (which is a great JS library by the way, apart from the recent license issues) , and if you have a Ext Grid on your page, you might run into the […]

 
© 2011 Anuj Gakhar