Uncaught referenceerror is not defined ajax

i have a problem with a little script on my html page. It’s just a function which should be called by an onclick method in an a tag. It dont works. Everytime i click on the link in the browser the console says "ReferenceError: $ is not defined" and points on the third line of the code below.

I have this error on a simple jsp : Uncaught ReferenceError: $ is not defined

I’ve just try to recall a service rest on another project on eclipse but it seem doesn’t work..

Update:

Tried using the jQuery from Google CDN, but still doesn’t work

Uncaught ReferenceError: $ is not defined sendobject @ index.jsp:15onclick @ index.jsp:28

This question is not a duplicate of Uncaught ReferenceError: $ is not defined?

Because all the answer of that question suggest to put the references to the jquery scripts first, but it does not work for me .

So it’s a similar question with a different problem and different solution.

Вылезает такая ошибка: "Uncaught ReferenceError: $ is not defined"

запрос не отправляется просто пишет ошибку, код элементарный:

  • Вопрос задан более двух лет назад
  • 3050 просмотров

Попробуй подключить jquery локально и проверить, подключается ли он:

UPD: ко всему прочему подключи его в head.

Читайте также:  Как вставить бумагу в принтер canon pixma