JavaScript beginners Tutorial


This tutorial will teach you some basics of JavaScript language 

  • The Message Box

Simple script can opens up an alert message box which displays whatever is typed in the form box below.





When you click on show me button the pop up below will appear on your screen








There is the full peace of code how it's done

















  • Javascript validation input










The script below allow us to validate this input number set in the field :
  • if it is between 1 and 10 it will appear a message "input Ok" 
  • else the message will be "input not valid"







Here is the code :







Share this

Random Posts

Previous
Next Post »