Source / tests / pages / test_extract_values.html

Full commit

    p { padding: 8px; margin-bottom: 30px; }

    window.onload = function() {
        // Dynamically add some text:
        var p = document.getElementById('boring-content');
        var tn = document.createTextNode("The fox's head is blown off.");



<h2>Form values to be extracted</h2>

    <input type="text" value="antelope" />
    <input type="checkbox" checked="yes" />
    <input type="radio" />
        <option value="34">Capoeira</option>
        <option value="36">Damascus</option>
        <option value="38" selected="true">Elektra</option>
        <option value="45">Frankenstein</option>

<h2>Text to be extraced</h2>

<p id="boring-content">
The <strong>quick</strong> brown fox <font size="5">jumps over</font> <br /> the
<span style="color:green">lazy <span style="font-weight: bold; color: blue">dog</span></span>.

<!-- Dynamically add some text -->
<script type="text/javascript">
document.write('<font size="-1">The lazy dog shoots the fox.</font>');