Launching a modal using a URL from javascript.

Discussion in 'JavaScript' started by rainmanjam, Sep 3, 2008.

  1. #1
    Right now I have it set up so I can launch a page using javascript


    
    <a href="#" onclick="ST();hidePopupMenu();" >Mark Speed Trap</a>
    
    function RLC() {
        jsvar4 = addresscode;
        jsvar5 = citycode;
        jsvar6 = statecode;
     
        window.location = "../xx/xx.aspx?add=" + jsvar4 + "&city=" + jsvar5 + "&state=" + jsvar6 + "&lvl=2"
        
    }
    Code (markup):
    What I want to do is launch this same url with the query string in a modal using showModalDialog Method or something similar.
     
    rainmanjam, Sep 3, 2008 IP