• 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

JavaScript

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi.I have a doubt in java script,can any one help me out.Here I have put my doubt.
I have a html form with fields UserName and Password along with submit button.While doing validations for username and password I need to get alert message when ever we press tab key,enter key and click submit button.And another requirement is when ever we click submit button the form should not be submitted to other page if the validations are not done.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Radha", please check your private messages for an important administrative matter.

Also, please be sure to take the time to compose descriptive subjects for your posts; read this for more information.

Using a title of "JavaScript" in a forum completely dedicated to questions on JavaScript isn't very helpful.

You can go back and change your post to add a more meaningful subject by clicking the .
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to Javaranch,

please comply the above instructions regarding administration matter.

for your question, have you try Google for that. I am sure you'll find the solution on little effort.

here is the one.

hope it helps.
 
reply
    Bookmark Topic Watch Topic
  • New Topic