hi,
Bin kein JS Profi....
Kann mir auch noch einer erklären wie genau ich das anstelle -- und das ganze dann auch noch aufrufe?
setAttribute() hatte dir Cybaer doch schon genannt, http://de.selfhtml.org/javascript/objekte/node.htm#set_attribute. um welches attribut es sich handelt, weißt du ja - type.
gruß,
wahsaga
Sorry ich kapiers nicht!
So klappt es jedenfalls nicht! :-(
<td onmouseover="show(this)">$datum<input name='xxx' type='hidden' id='xxx' value='test'></td>
function show(cell)
{
var info = document.getElementById('info');
info.setAttribute("text", document.xxx.value);
info.style.top = event.clientY;
info.style.left = event.clientX;
info.style.zIndex = 2;
info.style.visibility = 'visible';
}
danke nochmal