something like this code here would be good but i dont know how to execute it
webPage += "<a href="0-10-20-30-40-50">Forward
";
webPage += "<a href="60-70-80-90-100">Backwards
";
"something like this code here would be good but i dont know how to execute it
webPage += "<a href="0-10-20-30-40-50">Forward
";
webPage += "<a href="60-70-80-90-100">Backwards
";"
Well, maybe you can't, not easily anyhow with one button. Better to make an array of buttons on the page that will control each value/direction individually.
you really need to execute it dynamically with JS script,
something like
<button onClick="count()" >Forward</button>
<script>
var counter = 10; // initial value goes here
function count() { // when forward button is clicked
passValue(counter);
counter += 10; // increment it by 10
}
</script>
well you will need to use Ajax trick to passValue(counter) to your 'server'