Skip to main content

Bug Tracker

Side navigation

#5783 closed bug (invalid)

Opened January 11, 2010 02:46PM UTC

Closed January 14, 2010 01:28AM UTC

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@tcs.com
Blocked by: Blocking:
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.

Attachments (0)
Change History (1)

Changed January 14, 2010 01:28AM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

This is a forum question, not a bug report.