hallo ihr
ich bekomm eine fehlermeldung,und zwar:
zeile: 22
zeichen: 4
fehler: ungültiges argument
hier mein javascript:
function openWindowAtCursor(e,link,titel){
e = e || window.event;
var cursor = {x:0, y:0};
if (e.pageX || e.pageY)
{
cursor.x = e.pageX;
cursor.y = e.pageY;
}
else
{
var de = document.documentElement;
var b = document.body;
cursor.x = e.clientX + (de.scrollLeft || b.scrollLeft) - (de.clientLeft || 0);
cursor.y = e.clientY + (de.scrollTop || b.scrollTop) - (de.clientTop || 0);
}
window.open(e,link,titel,'width=420,height=120,top=' + cursor.x + ',left=' + cursor.y);
}
und hier wird diese funktion aufgerufen
<td onclick="openWindowAtCursor(this,'VK.aspx?id=" + rd["ID"].ToString() + "','VK');">
ich hab wie wilde gesucht .. bin aber nicht draufgekommen, woran es liegt ... könnt mir da vL jemand helfen?? danke schon im voraus
LG mokona