GPERICOM Javascript Tutorial...
- Practical AIM:- Write a JAVAScript to print characters of a string at odd positions.(for example for the string India, I, d and a should get printed).
p1.html | |
File Size: | 0 kb |
File Type: | html |
- Practical AIM:- Write a JAVAScript to take 2 digit number and then separate these 2 digits, then multiply first digit by itself for second digit times.( for example, 23 should be separated as 2 and 3. 2 should multiply with itself 3 times).
p2.html | |
File Size: | 0 kb |
File Type: | html |
- Practical AIM:- JavaScript gives the key code for the key pressed (Using Mouse event).
p3.html | |
File Size: | 0 kb |
File Type: | html |
- Practical AIM:- Write a JavaScript that handles following mouse events. Add necessary elements.
a. If the mouse is over the heading heading should turn yellow and if the mouse goes out of the heading it should turn black.
b. If findtime button is clicked show time and date information.
c. If button named “red” is clicked, background should change to red and
d. If button named “green” is clicked, background should change to green.
p4.html | |
File Size: | 0 kb |
File Type: | html |
- Practical AIM:-Create Different Java script for web forms.
1. Generate an alert box
2. Generate Delete confirmation
3. Generate prompt box
p5.html | |
File Size: | 0 kb |
File Type: | html |
- Practical AIM:- Write down java script code to check mobile number (mobile number should start with 9 or 8) and mail id(check @ and .)
p6.html | |
File Size: | 1 kb |
File Type: | html |
- Practical AIM:- Write down java script code to validate user name and password (password length must in between 6 to 12 characters. User name should not start with _, @, or any number, both are not blank).
p7.html | |
File Size: | 1 kb |
File Type: | html |
- Practical AIM:- Show the use of events to change background color with DHTML.
1. If mouse button is pressed, background color should be red.
2. If mouse button is released up, background color should be yellow.
p8.html | |
File Size: | 0 kb |
File Type: | html |