Bug Tracker

Modify

Ticket #5783 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

Check if jquery.js and thickbox.js is loaded

Reported by: shruti Owned by: brandon
Priority: major Milestone: 1.4
Component: event Version: 1.3.2
Keywords: Cc: shruti4.a@…
Blocking: Blocked by:

Description

Hi, I need to check if jquery.js and thickbox.js are completely loaded or not. Wanted to confirm if the following code will ensure this or not.

if (jQuery) {

jQuery is loaded

} else {

jQuery is not loaded

}

Actually have to show an anchor only if the scripts are fully loaded.

Its working if the server is fast, want to make sure it works in case the server is slow and there's a time lag in loading the scripts.

Change History

comment:1 Changed 3 years ago by dmethvin

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

This is a forum question, not a bug report.

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.