css pr_list
css pr_list
“Read cookie”. Create a cookie of entered name in textbox on “Set cookie” button click and
read and display in document the cookie when user clicks on “Read cookie” button.
4) Write a JavaScript program to have a banner- using array of images to rotate the images
after 1 second interval using setinterval() method.
5) Write a JavaScript program to, with anchor links to page1 and page2 and buttons as- back
and next. Use different methods of history object to navigate through history of browser.
7) Write a JavaScript program using Regular expression to validate simple form having 2
textboxes- Name should not be empty and Mobile no should be exact 10 digits display
respective alert.
8) Write a JavaScript program to, take one text field and button is submit to click on button
then display email validation.
9) Write a JavaScript program with following frame structure to show respective web pages,
(note: set different background colors to different web pages )
Doc1.html
Doc2.html Doc3.html
Doc4.html
10) Write a JavaScript program with image control to Change the images on mouse hover and
mouse is out (Rollover and Rollback).
11) Write a JavaScript program having, a webpage containing table, image control and three
buttons namely Mango, Apple, Orange when you hover over each buttons respective
image as mango.jpg, Apple .jpg and orange.jpg will be loaded into image control.
Mango
Orange
12) Write a JavaScript program to print 1 to 20 numbers in a text area after specified interval
using setinterval() method.
13) Write a JavaScript program with, three text fields as- no1, no2 and result, enter the value
in first two text fields and click on “addition” button to get the result in third text field.
14) Write a JavaScript program take, two radio buttons- fruits and vegetables and one drop
down list when you select fruits then the list must show fruits element & if vegetables the
list must show vegetable elements.
15) Write a JavaScript program to protect webpage by disabling the right mouse button on
webpage.
16) WRITE A JAVASCRIPT PROGRAM, with different functions to alert welcome & goodbye;
welcome ( ) fun should execute on webpage is load into browser & goodbye ( ) fun should
be called on exit from browser.
20) Write a JavaScript program to, Take five checkboxes namely Apple, Banana, Mango,
orange, Papaya and take one button when you click on button then show the selected
checkbox values in textbox / paragraph.
21) Write a JavaScript program to, Take two text fields change the text color and background
color of text field to pink and green respectively on getting focus on text field and change
the text color and background color of text field to white and black on focus out.
22) Write a JavaScript program to, Take a textarea and a button, when you click on button
make the textarea “read only”.
23) Write a JavaScript program with a drop down list of fruits ,on selecting any option a alert
box must display a message “You have selected :- fruit_name”
24) Write a JavaScript program to accept Adhaar card as input texts. When the user enters adhaar
card number as NNNN-NNNN-NNNN the JavaScript validates card number and displays
whether card number is valid or not.