Bug Tracker

Modify

Ticket #10154 (closed bug: worksforme)

Opened 21 months ago

Last modified 21 months ago

Ready func run twice!

Reported by: tiberzann@… Owned by: tiberzann@…
Priority: low Milestone: None
Component: event Version: 1.6.2
Keywords: Cc:
Blocking: Blocked by:

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

comment:1 Changed 21 months ago by rwaldron

  • Owner set to tiberzann@…
  • Status changed from new to pending
  • Component changed from unfiled to event

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 21 months 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 21 months ago by rwaldron

  • Priority changed from undecided to low
  • Status changed from pending to closed
  • Resolution set to worksforme

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.