Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    dynamic links in each row using JS

    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?

    Thanks,
    Visala

  • #2
    Regular Coder mjlorbet's Avatar
    Join Date
    Jan 2008
    Location
    Milwaukee, WI
    Posts
    724
    Thanks
    8
    Thanked 96 Times in 95 Posts
    Code:
     
    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.
    -Mike
    "Want me to precludify him, like some kind of dispatcherator?... Can do!" -Bender


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •