Languages

Menu
Sites
Language
$ jquery is not defined - error

I have this error popping on every line in the Studio .

"$ jquery is not defined".

how can i reslove it ? 

jquery works fine .. only this error drives me crazy and really polutes my whole working station . 

 

 

Edited by: Dima S on 18 May, 2017

Responses

2 Replies
beanstalk

Hello 

You can turn off java script validator or change the level on the preference page.

  1. open Preference ( Windows > Preferences , in macOS TizenStudio > Preferences )
  2. Tizen Studio > Web > Editor > JavaScript Editor ( you can filter categories with typing in 'JavaScript Editor' on the top of the left)
  3. Change the Validation Level as 'Error' 
  4. If you want to put off entirely javascript validation , you could check of 'Build' or 'Reconcile'

Reconcile: If you check this, it means everytime you save file , the validatore will work.

 

 

 

 

 

 

 

Hope this could be help!

André Reus

hi 

First of all

//Change 

<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>

//to

<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/index.js"></script>

That means load the jquery before using it. Follow this http://stackoverflow.com/questions/2194992/jquery-is-not-defined

Also change the Validation Level