SHARE
TWEET

Form Load

a guest Jul 9th, 2012 87 Never
  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>
  5.  
  6. //The below method not triggered while taped the Go button
  7. function login(){
  8.     //login action
  9.  }
RAW Paste Data
Top