Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Apps
-
HD-Enabler:Wirecloud
Description
Created question in FIWARE Q/A platform on 01-03-2015 at 18:03
Please, ANSWER this question AT http://stackoverflow.com/questions/28796876/using-jquery-in-wirecloud-gives-uncaught-referenceerror-jquery-is-not-defined
Question:
Using jQuery in Wirecloud gives "Uncaught ReferenceError: jQuery is not defined"
Description:
Here is the order of the includes:
index.html:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
<script src="js/main.js"></script>
and here is the js file (Only relevant parts are shown):
$(document).ready(function () {
'use strict'
init();
$('.slider').slider(
);
});
init() is just grabbing some values to create the slider.
Everything works fine in the browser.
The error is "Uncaught ReferenceError: jQuery is not defined" and it points to the $ symbol in the first line of the javascript file.
I've tried to replace "$" with "jQuery" but got the same error.
Any sugestions?
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
3h | 1 | Backlog Manager | 19/Oct/15 3:04 PM | |||||
|
2h 59m | 1 | Backlog Manager | 19/Oct/15 6:04 PM | |||||
|
2d 21h | 1 | Backlog Manager | 22/Oct/15 3:04 PM |
Fix Version/s | 2021 [ 12600 ] |
Summary | FIWARE.Question.Tech.Apps.ApplicationMashup.jQueryProblem | FIWARE.Question.Tech.Apps.ApplicationMashup.ComponentDevelopment.jQueryProblem |
HD-Enabler | Wirecloud [ 10857 ] | |
HD-Chapter | Apps [ 10836 ] |
Summary | [fiware-stackoverflow] Using jQuery in Wirecloud gives "Uncaught ReferenceError: jQuery is not defined" | FIWARE.Question.Tech.Apps.ApplicationMashup.jQueryProblem |
Assignee | Álvaro Arranz [ aarranz ] |
Resolution | Done [ 10000 ] | |
Status | Answered [ 10104 ] | Closed [ 6 ] |
Status | In Progress [ 3 ] | Answered [ 10104 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Field | Original Value | New Value |
---|---|---|
Component/s | FIWARE-TECH-HELP [ 10278 ] |
2015-10-22 15:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True