MySlider.command="blah();";function blah(){$currValue=MySlider.getValue();}
Thats a stupid way ...Stupid rudyman.