Opening html modal dialog

Posted by Hulk on Stack Overflow See other posts from Stack Overflow or by Hulk
Published on 2010-01-04T13:02:25Z Indexed on 2010/03/18 5:01 UTC
Read the original article Hit count: 813

Filed under:
|

All,

I need to get the contents below on a modal window.I had been trying this for a while today. On modal window opened the background body contents are not accessible.and on reload page the modal popup should close down leavinfg the contents of the text area as it is.

<a href="" id="link">Open Popup</a>
<table><tr width="10%"><td>
        <TEXTAREA name="text1" id="text1" rows="15" cols="65" onscroll="sync();" spellcheck="false"></TEXTAREA>
        </td>

        <td>
        <TEXTAREA Name="text2" id="text2" rows="15" cols="65"  spellcheck="false">

        </TEXTAREA>
        </td></tr>
        <tr>
        <tr width="90%"><td>
        </td>
        </tr>
        </table>
        <input type="button" value="Compile" onclick="stat('')"/>
        <input type="button" value="Reload Page" onClick="window.location.href=window.location.href">

Thanks..

© Stack Overflow or respective owner

Related posts about html

Related posts about modal-dialog