User:Davidboo25/common.js: Difference between revisions
From Melvor Idle
Davidboo25 (talk | contribs) No edit summary |
Davidboo25 (talk | contribs) (Undo revision 44238 by Davidboo25 (talk)) Tag: Undo |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
$(function () { | $(function () { | ||
var myElement = document.getElementById('calculatorTest'); | var myElement = document.getElementById('calculatorTest'); | ||
myElement.innerHTML = '<input type="number" min="0" oninput="validity.valid||(value='');" class="number_input" id=Ranged value="" enabled />'; | myElement.innerHTML = '<input type=\"number\" min=\"0\" oninput=\"validity.valid||(value=\'\');\" class=\"number_input\" id=Ranged value=\"\" enabled />'; | ||
}()); | }()); |