Hi,
I'm trying to do very simple script, which should do nothing to much
complicated.
Attach to <input type="text" id="datepicker"> the jquery UI
datapicker.
The script is very easy:
// ==UserScript==
// @require
http://192.168.0.153/lib/jquery/jquery-1.3.2.min.js
// @require
http://192.168.0.153/lib/jquery/jquery-ui-1.7.2.custom.min.js
// ==/UserScript==
(function() {
GM_log('Testing...');
$("#jans").append(" more text.");
$("#datepicker").datepicker();
}());
The .append() works fine..
However the click on the input fields does not work at all. The only
debug message I got into the console is:
inst is undefined , line 508 in greasemonkey.js
catMgr.addCategoryEntry("app-startup",
CLASSNAME, <------- this
is the line 508
CONTRACTID,
true,
true);
Currently using Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:
1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)
and Greasemonkey 0.8.20090920.2
Any idea what can be wrong?
Thx,
Jan