Javascript : A very simple modal form with a return value
To build a modal form web page. You can use this java script. JAVASCRIPT window.showModalDialog(‘popup.html’) And set the return value by doing this JAVASCRIPT function doOk() { window.returnValue = ‘hello’; window.close(); }
Twitter
Facebook