Forum Moderators: open
window.event (and the srcElement property) are IE-only.
You don't need to query the event in this case anyway.
Use the keyword, this, in the event handler to send an object reference to the function.
<input type="button" name="cmdInvoegen0" value="Invoegen" onClick="doAction(this)">
function doAction(button)
{
var iden=button.name;
...as before...