WebCore/manual-tests/show-modal-dialog-test.html
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     1 <script>
       
     2 function showModal() {
       
     3     document.form.fromModal.value =
       
     4         showModalDialog("modal-dialog.html",
       
     5             document.form.toModal.value,
       
     6             "dialogHeight:280px,dialogWidth:400px");
       
     7 }
       
     8 </script>
       
     9 <form name="form">
       
    10 <p>Type text here to be sent to the modal window and press the button:
       
    11 <input name="toModal" value="from main window">
       
    12 <input type="button" value="Show Modal" onClick="showModal()"></p>
       
    13 <hy>
       
    14 <p>Text will appear here from the modal window: <input name="fromModal">
       
    15 </form>