I have looked through stack overflow and couldn't really find an answer. I have the following code that fades an item out, sends information to the server, and when it is received it fades it back in. It works great in IE. Doesn't work in chrome. The data is called on the server, but the actual fade effects aren't working.
function getChannelIndexFilter(channelName, filterType) {
$("#videoList").fadeOut("fast", function() {
$.get("/Home/GetChannelIndexFilter",
{ channel: channelName, type: filterType },
function(items, status) {
$("#videoList").fadeIn("fast");
},
"json")
});
}
Now I am really confused... Even a simple
$(document).ready(function() {
$(".videoImage").click(function() {
$("#episodeList").fadeOut();
});
});
Doesn't fade out. If I change fadeOut() to hide() it works.