I have a table with x rows & y columns.

The innerhtml for a cell is a unique value that is updated onchange:

HTML Code:
<td></td><input value="what the f ever" id="10" style='width:125px;text-align:center' onchange='updateinput("table",this.value,1,0)' /></td>
Code:
function updateinput(tablez,ish,xcor,ycor)
{
var insert_text = "<td></td><input value=" + "\"" + ish + "\" id=" + "\"" + xcor + ycor + "\" style='width:125px;text-align:center' onchange='updateinput(" + tablez + ",this.value," + xcor + "," + ycor + ")' /></td>";

var insert_html = document.getElementById(tablez).rows[xcor].cells[ycor];
insert_html.innerHTML = insert_text;
}
Problem is that the onchange event only gets triggered once. Even when I manually change the value of the input box for a second time. Is there something I'm missing so that I can make more than one onchange event?