Sha256: 2ffd182becf0cd61f3aa45c09564a3e9e3f864704c3c7576ed361b4cc80aba7e

Contents?: true

Size: 1.23 KB

Versions: 6

Compression:

Stored size: 1.23 KB

Contents

<html>
<head>
<title>
Test page for pop ups
</title>

<script language = javascript>
function doConfirmBox() {
     var a =confirm('Do you really want to do this');
     if (a == true)
         document.all.confirmtext.value = "OK"
     else
         document.all.confirmtext.value = "Cancel";
}

function doPromptBox() {
     var a =prompt('Enter something delightful' , '');
     if (a == null)
         document.all.prompttext.value = "Cancel"
     else
         document.all.prompttext.value = a;
}


</script>

</head>
<body>
CVS Revision: "$Revision: 1.0 $"
<br>
<br>
<table>

<tr>
<td>
<input type = button value = "Alert" onClick	= "javascript:alert('This is an alert box');">This Button shows an alert pop up</q>
<br>

<tr>
<td>
<input type = button value = "Prompt" onClick= "javascript:doPromptBox();">This button shows a prompt pop up. This text box shows what text was entered <input type = text name = prompttext>

<br>
<tr>
<td>
<input type = button value = "Confirm" onClick= "javascript:doConfirmBox();">This button shows a prompt pop up. This text box shows which button was clicked  <input type = text name = confirmtext>
<br>

<tr>
<td>
<input type = file name = up>This button shows a file upload box</q>
<br>


<tr>
<td>
</table>


</html>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
mk_firewatir-1.6.5 unittests/html/popups1.html
firewatir-1.6.5 unittests/html/popups1.html
firewatir-1.2.1 unittests/html/popups1.html
firewatir-1.6.2 unittests/html/popups1.html
firewatir-1.2.0 unittests/html/popups1.html
firewatir-1.1.1 unittests/html/popups1.html