Create a User Registration form with First Name, Last name,
Address, City, State, Country, Pincode, Username and Password
fields for a General login webpage and satisfy the following
criteria:
Create a validate ( ) function that does the following:
(a) Checks that the First Name, Last Name, City, Country,
Username, and Password fields are filled out.
(b) Checks that the Pincode is exactly 6 numerics.
(c) Checks that the state is exactly two characters.
(d) Checks that the email is a valid email address.
false if email has fewer than 6 characters
false if email does not contain an @ symbol
false if email does not contain a period (.)
true otherwise
OUTPUT:
BHUVANESWARAN B / AP (SS) / CSE / REC - 2
BHUVANESWARAN B / AP (SS) / CSE / REC - 3
BHUVANESWARAN B / AP (SS) / CSE / REC - 4
BHUVANESWARAN B / AP (SS) / CSE / REC - 5
BHUVANESWARAN B / AP (SS) / CSE / REC - 6
Design a Job Registration form / Sign Up form using HTML. [The
Form should contains Text box [name], Radio button [sex], Text
area [comments], List Items [country], File [Browse], Label
Field, Password field [password] and check box.
OUTPUT:
BHUVANESWARAN B / AP (SS) / CSE / REC - 7
BHUVANESWARAN B / AP (SS) / CSE / REC - 8
BHUVANESWARAN B / AP (SS) / CSE / REC - 9
Create a page with JavaScript to do the following. These can
all be on one page.
(a) Prompt the user for their name.
(b) Use a pop-up box to welcome the user by name.
(c) Display the current date on the page in the following
format: April 30, 2014. Do not display the time. Do not "hard
code" the date; if I load the page tomorrow, I should get a
different date than if I load it today.
(d) Display the last modified date of the document.
(e) Put some useful advice, on any subject, in the status line
of the browser.
OUTPUT:
BHUVANESWARAN B / AP (SS) / CSE / REC - 10
BHUVANESWARAN B / AP (SS) / CSE / REC - 11
Develop a web page that allows the user to enter all the
details of the passenger (name, age, emailid , gender).Write a
client side scripting code to validate the emailid ,age and
gender, where email id should consists of the special symbol
@and period(.),where age between 1 to 100 and gender is male
or female.
OUTPUT:
BHUVANESWARAN B / AP (SS) / CSE / REC - 12
BHUVANESWARAN B / AP (SS) / CSE / REC - 13
BHUVANESWARAN B / AP (SS) / CSE / REC - 14
Create a form that gets input of several lines of text and a
search character. On clicking the search button in the client
form invoke suitable script function to display the number of
occurrences of the character in the text using suitable string
methods.
OUTPUT:
BHUVANESWARAN B / AP (SS) / CSE / REC - 15
BHUVANESWARAN B / AP (SS) / CSE / REC - 16
BHUVANESWARAN B / AP (SS) / CSE / REC - 17