JavaScript Scripts





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
Free Java Script Codes
Javascript List All
Slide Show Slide Show
Ad Display Ad Display
Image Effect Image Effect
Animated Image Effects Animated Image Effects
Form Validation Form Validation
Color Picker Tool Color Picker Tool
Formatting Forms Formatting Forms
Select All Select All
Dynamic Form Select Dynamic Form select
Dynamic Color Dynamic Color
Dynamic Color Calendar
Textbox Counter Textbox Counter
Alphanumeric Alphanumeric
Date Time Script Date & Time
Stop Watch Script Stop Watch script
Delete Repeated Values Delete Repeated Values
Pagination Pagination
Random Generator Random Generator
Animated Text Animated Text
Cursor Position Cursor Position
User Info Window / User Info
Security Security / Authenticate
Bookmark Bookmark
Mouse Effects Mouse Effects
Title Bar Title Bar
Status Bar Status Bar
Country List Country List
Free Games Free Games
Calculators Calculators
 




Password Validation Script


About
This javascript will help you to validate username, password. If it will display the specified page.


Features
a) You can generate the popup window.
b) Give the username and password.
c) If it is true, it will display the specified page.
d) Just copy the code into your page and use it.

Preview
Note:Username=hiox,Password=hioxindia



Related Scripts
User Login Page -  HRAS User Page



Code
Javascript
<!--   Script by hscripts.com          -->
<!--   Copyright of HIOX INDIA         -->
<!-- More scripts @ http://www.hscripts.com -->
<script type="text/javascript">
function login()
{ 
  var username=prompt("Enter usename");
  var password=prompt("Enter password");
  if(username=="hiox" && password=="hioxindia")
   window.location="http://www.hscripts.com";
  else
   alert("Invalid username password");
 }
</script>
<!-- Script by hscripts.com -->


HTML code
<!--   Script by hscripts.com          -->
  <input type="button" name="login" value="Login" onclick="login()">
 &copy; <a href="http://www.hscripts.com" style="color:#3D366F;text-decoration:none;cursor:pointer;font-size=13px">hscripts.com</a>
<!--   Script by hscripts.com          -->

Release Date - 07-04-2008
Get free version without ©copyright link for just 5 price

For customization of this script or any script development, contact us at support@hscripts.com


Usage
 a)Copy the javascript code into the head part of your HTML page.
 b)Create the HTML form using the above HTML code.
 c)Generate the popup window and then give the username, password.
 d)The function login() is used to generate the popup window and then check the username, password. If you give correct username and password the specified page will be displayed.



License
- The javascript (misspelled as java script) is given under GPL License
- i.e. Free use for those who use the codes as it is.
- Free, if your modification does not remove our copyright information and links.
- Click Here for detailed license information.
- You can purchase the script if your requirements does not meet our GPL License terms.
Other Links

web hosting