Hi everybody! I'm new to this forum and full of hope to solve this issue.
Please help out if you can!

So, I have slider on page that goes from 0 to 100. and I need to pass the value that visitor selected to the next page by using submit button.

Here is javascript code that I have for the slider.
-----------------------------------------------
<script type="text/javascript">
window.addEvent('domready', function(){
var slider1 = new Slider('slideContainer1', 'slideHandle1',{onComplete: function(val){$('pos1').setHTML(val);}});
var slider2 = new Slider('slideContainer2', 'slideHandle2', {
onTick: function(pos){
this.knob.effect(this.p, {duration: 200, transition: Fx.Transitions.quadOut}).start(pos);
},
onComplete: function(val){
$('pos2').setHTML(val);
},
steps: 5
});
});
function SetJsValue()
----------------------------------------------
Next page will catch value by $_post or $_get. I guess.

Please if you have any ideas let me know.
I'm new to javascript and would really appreciate your help.