H I O X INDIA
FREE Javascript
Google
Web hscripts.com
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Directories 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)   Bookmarks :-)  
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

Java Script Source
List All
Date & Time
Calendar
Stop Watch script
Slide Show
Image Effect
Mouse Effects
Color Picker Tool
Dynamic Color
Random Generator
Select All
Form Validation
Textbox Counter
Dynamic Form select
Bookmark
Window / User Info
Security / Authenticate
Status Bar
Title Bar
Cursor Position
Country List
Calculators
Delete Repeated Values
Alphanumeric
Free Games





Password Validation Script


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


Features
a) You can generate the popup window.
b) Give the username and password.
c) If it true 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



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 display.





License
- This javascript (misspelled as java script)/HTML code is given under GPL License
- i.e. Free use for those who use it as it is.
- Free, if your modification does not remove our copyright information and links.
- Detailed License information can be found here
- You can purchase the script if your requirements does not meet GPL License terms.


privacy policy     license     sitemap
© 2004-2005 HIOX INDIA - hioxindia.com

Others