Sha256: a8eca44d2dab9ff45c8f6dcef7425f7036fc9be42c53d36e72dfd134e4dd0fd3

Contents?: true

Size: 1.19 KB

Versions: 48

Compression:

Stored size: 1.19 KB

Contents

<html>
  <head>
    <title>Async Page</title>
    <script type="text/javascript">
      function unhide() {
        document.getElementById("target").style.display="block";
      }

      function hide() {
        document.getElementById("target").style.display="none";
      }
      
      function addDiv() {
        var button = document.createElement("input");
        button.setAttribute("type", "button");
        button.setAttribute("value", "New Button");
        button.setAttribute("id", "new_button");
        document.body.appendChild(button);
      }

      function removeDiv() {
        var button = document.getElementById("new_button");
        document.body.removeChild(button);
      }
     </script>
  </head>
  <body>
    <input type="button" id="target" value="Target"/>
    <input type="button" onclick="setTimeout(function() {hide();}, 2000);" value="Hide Button"/>
    <input type="button" onclick="setTimeout(function() {unhide();}, 2000);" value="Unhide Button"/>
    <input type="button" onclick="setTimeout(function() {addDiv();}, 2000);" value="Create Button"/>
    <input type="button" onclick="setTimeout(function() {removeDiv();}, 2000);" value="Remove Button"/>
  </body>
</html>


Version data entries

48 entries across 48 versions & 4 rubygems

Version Path
page-object-1.2.0 features/html/async.html
page-object-1.1.1 features/html/async.html
page_object-1.1.3 features/html/async.html
page_object-1.1.2 features/html/async.html
page_object-1.1.1 features/html/async.html
page-object-1.1.0 features/html/async.html
page-object-lds-0.0.14 features/html/async.html
page-object-lds-0.0.13 features/html/async.html
page-object-lds-0.0.12 features/html/async.html
page-object-lds-0.0.11 features/html/async.html
page-object-lds-0.0.1 features/html/async.html
page-object-1.0.3 features/html/async.html
meeane-page-object-0.1.11 features/html/async.html
page-object-1.0.2 features/html/async.html
page-object-1.0.1 features/html/async.html
page-object-1.0 features/html/async.html
page-object-0.9.8 features/html/async.html
page-object-0.9.7 features/html/async.html
page-object-0.9.6 features/html/async.html
page-object-0.9.5 features/html/async.html