Results 1 to 2 of 2

Thread: sam

  1. #1
    disabled button Guest

    Default sam

    how can I make my form button disabbled if nothing is typed in the form and make them enabled when it is filled

  2. #2
    Join Date
    Dec 1969

    Default RE: sam

    Just make a global variable called <BR><BR>var BUTTONACTIVE = 0;<BR><BR><BR>for the button do a onClick="CheckButtonIfItIsEqualTo1(form)"<BR>on the click if it is set to 1 then do a form.submit();<BR>for the text input box do a onChange="BUTTONACTIVE=1;"<BR><BR>this is of course written in JSCRIPT

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts