Skip to main content

PRACTICAL 5_2

PRACTICAL 2

Write a JavaScript which validate all controls and retrieve all possible value from controls and display from Registration form of Practical 2 of Part 2. Also manage sessions in this program using JavaScript. 


THEORY
In this web page, Registration Form of an indiviual have been made using JAVASCRIPT & CSS.

IMPORTANT TAGS & ATTRIBUTES:
  • function: A JavaScript function is defined with the function keyword, followed by a name, followed by parentheses ().
  • var: The var statement declares a variable in the javascript.
  • getElementById(): The getElementById() is a DOM method used to return the element that has the ID attribute with the specified value.
  • document.write(): Writing into the HTML output using document.write().
  • <fieldset>: The <fieldset> tag draws a box around the related elements.
SCREENSHOT WEB PAGE:






NAME:AYUSH SINGLA
ID:18CE122

Comments