var a = document.createElement('a');
a.appendChild(dynval);
a.href='javascript:void(0)'
a.onclick=bindme(dynval)
td.appendChild(a)
row.appendChild(td)
function bindme(bval){
temp=bval
return function(){
alert(temp)
}
}
The above code is not complete....
the problem is i am generating dynamic rows inside table's tbody. and i split the rows in to client side pages where each page may display 5 rows. I want to get the values of a cell/row in the rows of these pages. I am getting the values of the cells/rows for the first and last page but not between these pages (ie i'm not getting values of 2 to n-1 pages, u mean the rows are displaying but when clicking on the rows i'm not getting any value)
Kindly help me. i'm pulling my hairs for week