AnsweredAssumed Answered

Capturing an SSI value for use in a script.

Question asked by Andrei Chichak on Nov 21, 2014
Latest reply on Nov 22, 2014 by Gerardo Gallucci

Has anybody managed to get the #input SSI to hand over a value for anything but display?

I'm trying to figure out how to set some controls (sliders, check boxes...) based on values that will be provided by my micro by having them prompted for rather than generating html at run time.

I've tried things like using #input in a script:

window.onload = function() {
   var blah = <!--#input -->;
   var value_display = document.getElementById("value_display");

or setting up a widget directly:

     <input id="slider" type="range" min="12" max="50" value="12" step="2" id="slider" ><br>
Value: <input type="text" id="value_display" value=<!--#input --> >

But none of it works.