Monday, 8 August 2011

IE9 Javascript change

I ran into a problem where by a piece of positioning Javascript that worked in all browser including IE 8 did not work in IE9.  "" did not work under IE9 !

The original code was this... = (a - b);

I had to change it to... = (a - b).toString() + 'px';