http://hertzelle.com/pixel/ is where the demo is currently running. Before you click you will see what is happening to the "grid" the color is not returning to it's previous state.
Also, is there a better way or FASTER way to make these remote requests. If you see my demo you will notice it takes a good amount of time to complete the request. Thanks for your help Ca-Phun Ung. :) On Sep 5, 10:12 am, Ca-Phun Ung <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > \$(".button").hover(function () { > > var color = \$("input#color_code").val(); > > var p_color = \$(this).css("background-color"); > > \$(this).css({ backgroundColor:color }); > > }, function () { > > \$(this).css("background-color") == p_color; > > }); > > Not sure if this is the problem (or just a typo in your posting) but you > have a double equal operator in the second last line. If that doesn't > correct the problem it'll be great if you could post a demo page online > so we could better help you. It's always easier to read code than to > imagine it.