This code working fine in FF but giving error in IE
object expected error line 1 char 1
jquery code
$(function () {
$('#header_images img:gt(0)').hide();
setInterval(function () {
$('#header_images :first-child').fadeOut().next('img').fadeIn().end().appendTo('#header_images');
}, 3000);
});
this is added in external.js file.
Edit: 7 September
This is how i added the JavaScript in <head>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
This code which i added in question , is in script.js
as it is