ChrisRChamberlain
Programmer
Hi all
Trying to reset the "slider" as defined here back to the default value of "1"
Code is
and is called in the function scaleinvoice().
Unfortunately the value is not reset - ideas, please?
TIA
motrac.co.uk
Trying to reset the "slider" as defined here back to the default value of "1"
HTML:
<div id="slider-wrapper">
<label for="fader" title="Click here to reset" onclick="scaleinvoice('1')">Zoom</label>
<input type="range" min="0.5" max="1.5" value="1" step="0.1" oninput="scaleinvoice(value)" id="fader">
<output for="fader" id="percent">100%</output>
</div>
Code is
HTML:
document.getElementById("content").value = "1";
Unfortunately the value is not reset - ideas, please?
TIA
FAQ184-2483
Chris motrac.co.uk