Bug Tracker

Opened 10 years ago

Closed 10 years ago

#10154 closed bug (worksforme)

Ready func run twice!

Reported by: [email protected] Owned by: [email protected]
Priority: low Milestone: None
Component: event Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

Description

I started learning jquery and ran into a problem:

$(function(){

alert('test');

}); //ready end

This code run twice. How to fix it?

Change History (3)

comment:1 Changed 10 years ago by Rick Waldron

Component: unfiledevent
Owner: set to [email protected]
Status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

comment:2 Changed 10 years ago by anonymous

Hmm... Thank for response, but problem solved by themself. I ran script again after a few hours and there is no problems...

comment:3 Changed 10 years ago by Rick Waldron

Priority: undecidedlow
Resolution: worksforme
Status: pendingclosed
Note: See TracTickets for help on using tickets.