View Full Version : dynamic links in each row using JS

05-06-2008, 09:41 AM
Hi All,

We are using javascript for UI to generate the dynamic controls. The thing is like I generated the table dynamically.

What I want is I want that table to be displayed as a popup when I do right click on the link.

Can anyone give me the code snippet for this?


05-07-2008, 03:17 AM
function popTable(){
var myWin = window.open("about:blank");
myWin.document.body.innerHTML = document.getElementById("theIdOfYourDynamicallyGeneratedTable").outerHTML;

you need to post some kind of code with this, this may or may not work for showing your table in a new window, but it may or may not be what you were looking for to begin with.