i have just started working using jquery. i downloaded jquery "http://code.jquery.com/jquery-1.4.2.min.js" from jquery.com..accessed in my html file..
<html>
<head>
<title> Jquery fundentals</title>
<script src="jquery-1.4.2.min.js" type="text/javascript"></script>
<style type="text/css">
#box{
background: red;
width: 300px;
height: 300px;
}
</style>
<script type="text/javascript">
$(function(){
$('a').click(function(){
$('box').fadeOut();
});
});
</script>
</head>
<body>
<div id="box"> </div>
<a href="#"> Click Me! </a>
</body>
</html>
still cannot see the effect in browser?
also tried "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"...but no use can any one explain the problem? i tried in three browsers. google chrome, mozilla and internet explorer.