This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Form Load

By: a guest on Jul 9th, 2012  |  syntax: None  |  size: 0.53 KB  |  views: 75  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.  }
clone this paste RAW Paste Data