Search This Blog

Thursday, 23 March 2023

Designing Interactive Web Pages for User Registration & Login

0 comments

 Experiment 4

Aim:

Design an interactive website using JavaScript for User Registration and User Login

Procedure:

1.  Write and store the JavaScript code for User Validation in the header part of the web page under <script> tag

2.  Bind the event handler with the onsubmit event handler of the form object as follows:

<form name="RegForm" action="login.htmlonsubmit="return REG()method="post">

where
    RegForm is the name of the form object
    login.html is the web page for navigation once the form validation is over
    REG() is the event handler (function in JavaScript) for validating the input
    post is the type of HTTPRequest used for making a requeset to the server


Here are the links to have Demo of the following Experiments:

Experiment 4

Experiment 8





 

Leave a Reply