The document lists 22 practical JavaScript programs including: displaying messages on page load, click events, confirm boxes, accepting and displaying user input, changing background color, opening and closing windows, displaying text in the status bar, selecting checkboxes, lists and images, validating forms, changing page location, scrolling text, resizing images, using parsing functions, substrings, and dropdown menus to open sites.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
18 views1 page
List of Practicals: S.NO. Name of Programs
The document lists 22 practical JavaScript programs including: displaying messages on page load, click events, confirm boxes, accepting and displaying user input, changing background color, opening and closing windows, displaying text in the status bar, selecting checkboxes, lists and images, validating forms, changing page location, scrolling text, resizing images, using parsing functions, substrings, and dropdown menus to open sites.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1
LIST OF PRACTICALS
S.NO. NAME OF PROGRAMS
1.) Display hello as soon as the page is loaded using JavaScript. 2.) Display adds the click of button. 3.) Display a confirm dialog box if user press !" it should display an alert message #$elcome% else display #bye%. &.) 'ccept the values from the user i.e. accept name" age" roll no. and marks and display them along (ith total marks. ).) *ry to accept the color from the user and on click of bgcolor button" it should change the bgcolor. +.) ,ake a (indo( (ith one #open% button on click of this button another (indo( (ith t(o button #open% and #close% should be displayed .n clicking open button should open another ne( (indo( and close button should close the current (indo(. -.) n click of button (indo( should has a text in the status bar. ..) *ry to make checkboxes and then display (hich checkbox user has selected. /.) *ry to make a list and try to select one. 10.) *ry to accept a number and find its s1uare. 11.) *ry to accept t(o numbers and tell (hich is maximum out of the t(o. 12.) 2rint a text (ith all + heading using for loop. 13.) *ry to greet the user according to the time. 1&.) *ry to map an image. 1).) ,ake a form" validate it" it should not be blank" it should display an error message and cursor should go back to the text field. 1+.) n click tries to change location of the page. 1-.) *ry to scroll the text on the status bar. 1..) *ry to resi3e an image. 1/.) *ry to use parse4nt and parse5loat function. 20.) *ry to use substr function" indexof function. 21.) Drop do(n menu and open different sites.