Hi, there friends…
in my JS tackling I bounced to this problem which I cannot come to a successful end with:
I have a form with input text fields, at the bottom of the form there was originally reset button:
<input type=”reset” name=”reset” value=”Clear”
onClick=”D_button()” class=”button”>
I have made a nice piece of .gif graphic button and intend to
replace this greyish form button. So I did this:
<a onClick=”javascript?_button()”>
<img style=”cursor:hand” src=”/extras/images/hypo_clear_btn.gif” border=”0″ width=”66″ height=”21″ alt=”Clear values”></a>
THIS DOES NOT CLEAR THE INPUT TEXT FIELDS!!! I have tried
several changes but no positive result. 🙁
The JS function called looks like this:
function D_button()
{
document.hypo.button.disabled=true;
}
PLEASE, give me a hint. Thank u very much