I want to add onClick() on a textbox which is dynamically generated in a table using following java script method.i just want to call a java script method which will get generate through this code.
suppose i want to show a message "hi" if anybody click on the textbox generated with this code.


[CODE=javascript] function addRow()
{

var tbody = document.getEle mentById("table 2").getElements ByTagName("tbod y")[0];...