Bug Tracker

Modify

Ticket #4285 (closed bug: invalid)

Opened 4 years ago

Last modified 4 years ago

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:
Blocking: Blocked by:

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.

Change History

comment:1 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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...)

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.