What's wrong with this simple script to call 2 functions:
if (up < max){
lower.onclick=min_function;
} else if (up > min) {
lower.onclick=max_function;
}
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.