form action="" method="post" onsubmit="return checkForm(this);"
form elemek... input type="submit" name="myButton" value="Tovább" name="submit" /form
function checkForm(form) // Submit button clicked { form.myButton.disabled = true; form.myButton.value = "Dolgozok..."; return true; }