Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/javascript">
- $(document).ready(function ()
- {
- $("#logIn").click(function ()
- {
- var username = $("#username").val();
- var password = $("#pass").val();
- if (username == 'test' && password == 'test')
- {
- window.location = 'index.html';
- }
- else if (username == null || password == null || username == '' || password == '')
- {
- window.loacation = 'apple.html';
- } else
- {
- window.location = 'dell.html';
- }
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement