I'm trying to do a simple example using jQuerys fadeTo method. It works as expected in IE8, but doesn't fade out Chrome/Firefox 3.6. Niether the fadeTo call or the one in the button click work in chrome/ff. Any ideas?
Code:
$(document).ready(function () {
$("img, div").fadeTo("slow", .5);
$("input").click(function () {
$("img, div").fadeTo("slow", .1);
});
});
The html contains a simple img and div tag. I'm trying to figure out how to get the html to display on SO.