my jquery is not working in any browser i reffered many answers on web for it none helped me out..!!
This is my code in the index file i tried in both (index.html) and (index.php)
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Jquery</title>
</head>
<body>
<div id="message" style="display:none;"> Welcome to my site</div>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/fade.js"></script>
</body>
</html>
the javascript files were in js folder.
And the fade.js code was :-
$(document).ready(function() {
$('#message').fadeIn('slow');
});
and the jquery code was which i downloaded from jquery website i tried the production both versions 1 and 2 and also other source links like
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
also jquery source links which some users uses. also i tried to shift the script code above the tags. but whatever it is i tried not working in any browsers.
Please Help me out guys...!!