Using jQuery dialog with javascript in IE9

Don't you just love Internet Explorer?  I love the development tools which are of virtually no help other than throwing a javascript error that is so broad it basically means: "you have an error in some javascript somewhere in some file" Wow...thanks!  That was very helpful.
 
Read More
 

Working with jQuery and jsonp

I was recently working on a project for a client and needed to use Jquery's getJson() function with Jsonp.  I had tried this in the past but kept getting 'parseerror' responses and could not really figure out what was going on.  I had pasted my json code into the json validator and it said that it was valid.  The documentation on Jquery's website was pretty sparse.   It took me a ...

 
Read More
 

Coldfusion spinning after upgrading to Lion (osx 10.7)

So, being the habitual early adopter that I am, I decided to download the update to Lion yesterday morning. It was the first time since I switched to mac as my primary developer machine that I had tried to upgrade. Boy was it hard (not). I just downloaded the update from the app store and it did it's thing.

However, I noticed that there were some issues with some of ...

 
Read More
 

Using jQuery to alert users to a change with animate()

In setting up an action on our site I wanted to have jQuery alert the user to the change by fading the background color in and then back out.  Using the animate function this was very easy to do.  You can fade the background color of the parent div in by using the following:

$('#' + parentTag + '.update').animate({
backgroundColor: "#DFC21D",
}, 1000 );
$('#' + parentTag + '.update).animate({ backgroundColor: "#...

checking a checkbox by clicking on the list item parent with jquery

$('#parent li').click( function(){ var $checkbox = $(this).toggleClass('selected').find(':checkbox'); if($(this).hasClass('selected')) { $checkbox.attr('checked','checked'); } else { $checkbox.removeAttr('checked'); } });
 
Read More