I'm trying to do an absolute minimalist jQuery script, but seem to be
failing badly. When it loads and runs, I get this error in my Firefox
console...
Error: $ is not defined
Here's the script in all its simple glory...
// ==UserScript==
// @name Perludus Test
// @namespace http://www.perludus.com
// @description Perludus test
// @require
http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js
// @include http://perludus.com/*
// ==/UserScript==
$(document).ready(function() {
alert ("FOO!");
});
What, dear readers, am I doing wrong!? It is as if jQuery is not
loading
--
You received this message because you are subscribed to the Google Groups
"greasemonkey-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/greasemonkey-users?hl=en.