jquery animate is not working in IE 7
This is my code and it's working in Firefox , Safari and Chrome. However, can't work in IE 7. How to fix it ?
jQuery(".jqbox_innerhtml").animate({
"width":"400px",
"height":"200px",
"margin-top":"300px",
"margin-left":"200px",
"opacity":1,
}, 1000,function(){
开发者_StackOverflow社区 jQuery(".jqbox_close").fadeIn("fast");
alert("Done");
});
After testing what i put in the comments and seeing that it works, i post it as an answer,
Remove the ,
after the "opacity":1
In IE it throws an error and so javascript stops executing..
精彩评论