Sha256: 61f90d76e8ab1f50d794a35691461c33361a73d195cc3881d6b36cffbde1fb36
Contents?: true
Size: 1.69 KB
Versions: 4
Compression:
Stored size: 1.69 KB
Contents
<htmL> <head> <title>jQuery - Selenium Ruby Client Sample App</title> <script type="application/x-javascript" src="/jquery-1.3.2.js"></script> </head> <body> <h1 id="title">jQuery - Selenium Ruby Client Sample App</h1> <div id="element-present-demo"> <h2>Element / Text Present</h2> <input type="button" id="create-element-button" value="Create Mojo" /> <input type="button" id="delete-element-button" value="Destroy Mojo" /> <script type="text/javascript" language="javascript"> $(document).ready(function() { $('#create-element-button').click(function() { $('#element-present-demo').append('<div id="new-element">We All Need ' + 'Some Mojo</div>'); }); $('#delete-element-button').click(function() { $('#new-element').remove(); }); }); </script> </div> <div id="regexp-support"> <div id="dangerous-characters">There are some dangerous characters here: ' / \</div> </div> <div id="ajax-demo"> <h2>AJAX Calculator</h2> <form id="calculator-form" action="#" method="post" onSubmit="return false;"> <input id="calculator-expression" name="calculator-expression"/> <input type="submit" id="calculator-button" value="Compute" /> <br/><br/> <div>Result: <input id="calculator-result" disabled /></div> </form> <script type="text/javascript" language="javascript"> $(document).ready(function() { $('#calculator-button').click(function() { $.post("/compute", $('#calculator-form').serialize(), function(data) { $('#calculator-result').val(data); }); return false; }); }); </script> </div> </body>
Version data entries
4 entries across 4 versions & 2 rubygems