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

You need to provide us with a 'running and short' example of your code so that we can easily test it out. Just pasting out random snippets won't do you much good.

Also take a look at the generated code for your 'in between' pages and see whether it is the same as the other ones.

You need to provide us with a 'running and short' example of your code so that we can easily test it out. Just pasting out random snippets won't do you much good.

Also take a look at the generated code for your 'in between' pages and see whether it is the same as the other ones.

Thanks for your reply..

I have attached the html file for your reference. please click on the rows of first page and last page. but "in between" page cannot much help.

Thanks for helping me.

Mahir

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.