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

Default action on input field in Android WebView

By: a guest on Feb 22nd, 2012  |  syntax: None  |  size: 0.18 KB  |  views: 13  |  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. <body onkeypress='return event.keyCode!=13; '>
  2.        
  3. <html>
  4.     <body onkeydown='if (event.keyCode==13) {event.keyCode=9; return event.keyCode }'>
  5.        ...
  6.     </body>
  7. </html>
clone this paste RAW Paste Data