my login button is not work ....

Discussion in 'JavaScript' started by dineshsingh1984, Mar 26, 2012.

  1. #1
    <input type="submit" name="send" id="send" class="small_button" value="Login" onClick="if(validate())
    {
    this.disabled=true;
    this.value='Sending, please wait...';
    this.form.submit();
    return true;

    }
    else
    {
    return false;
    }">

    I'm using this script but when validate function retrun true then my login button is not working

    please tell me where the prob

    please help me.....
     
    dineshsingh1984, Mar 26, 2012 IP
  2. betatype

    betatype Member

    Messages:
    75
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    48
    #2
    I would have to know more about what you are trying to do. You submit the form if it passes validate() but then your button is still being displayed? Why would you want the login button to still be displayed?
     
    betatype, Mar 26, 2012 IP