Form Field Testing

by markallgood

HTML

<form action="#">
<fieldset>
    <p>
        <label for="testNumberInput">Test Number Input</label>
        <input id="testNumberInput" type="number" step="any" />
    </p>
</fieldset>
</form>
<p>This is trademarked<sup>tm</sup></p>
<p>This is a subscrpt<sub>D</sub>

JavaScript

$(function() {
$("input#testNumberInput").val("45.00");
});