Form Load

a guest Jul 9th, 2012 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <form class="formMain" id="formMain" style="height:460px;width:100%;" onsubmit="login()" >
  2.  <input type="text" name="userid" id="txtUsername" value="" placeholder="Username" class=" ui-corner-none"/>
  3.  <input type="password" name="pwd" id="txtPassword" value="" placeholder="Password" class="loginTextBoxStyle ui-corner-none"/>
  4.  <input type="submit" value="Login" id="btnSubmit" class="blueButton !important" data-role="none"/> </form>
  6. //The below method not triggered while taped the Go button
  7. function login(){
  8.     //login action
  9.  }
RAW Paste Data
Pastebin PRO Summer Special!
Get 60% OFF on Pastebin PRO accounts!