Side navigation
#4285 closed bug (invalid)
Opened March 03, 2009 01:50AM UTC
Closed March 03, 2009 03:06AM UTC
No result and No error onclick (is browser detecting jQuery or not)
Reported by: | laxmikanth.s | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | event | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I was unable to see output, no action on click on anchor tag and there is no javascript error also. Tried in IE, Firefox and chrome too.
here is the code i tried
<html>
<head>
<script src="jquery-1.3.2.min.js" type="text/javascript"></scirpt>
<style type="text/css">
#box {
background:red;
width:100px;
height:100px;
}
</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>
I made sure jquery-1.3.2.min.js and html file are @ same place.
Attachments (0)
Change History (1)
Changed March 03, 2009 03:06AM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
If that is a copy/paste from your file, you've mistyped the closing script tag. It's best to double-check these problems on a forum before opening a bug. (At least it's best for me...)