My fadeOut is not working, where my code went wrong
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Jquery test</title>
<script scr="jquery-1.3.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(5000);
});
});
</script>
</head>
<body>
<div id="box"></div>
# Click Me!
</body>
</html>
[/code]
--
View this message in context:
http://old.nabble.com/What%27s-wrong-in-my-code--tp26688380s27240p26688380.html
Sent from the jQuery Dev List mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en.