• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

login by clicking enter in the key board with out clicking submit button on the scree

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have an issue, we have login and password on giving login and pw and on clicking submit it is taking to application , we want to go in to application with out clicking on submit button , but by clicking enter button on the key board.how can we do this pl send if You have any info or some link
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you press Enter key the result is the same as clicking on the first submit button on the screen. So if you place your Submit before any other submit buttons like Cancel, then Enter key would work automatically.

If its not possible to do this because of the screen layout then you can add a hidden submit button placed before other buttons.
 
Ranch Hand
Posts: 181
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If any field in the form has focus and you have a <input type=submit> button, hitting Enter should automatically submit the form. If you want to submit regardless of where the focus is, you can try this:

Remove the space in "on keydown". The filter won't let me put it in correctly.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic