- Code: Select all
<input id="test_slider" type="range" min="0" max="10" value="0" style="width: 100px;" onchange="one" />
and in the event handler, I have the following:
- Code: Select all
if (pFile!=NULL)
{
fprintf(pFile, "slider value %s \n", event.GetCurrentElement()->GetAttribute< EMP::Core::String >("value", "1") );
}
I'm able to drag the slider, but the slider value saved in the file is always zero. How can I get the value that is submitted by the user?


