Lab Assignment – III (JavaScript and XML)
Last updated
Was this helpful?
Last updated
Was this helpful?
Illustrate with examples the concept of alert, confirm and popup boxes •
WAP in javascript to demonstrate the objects, its properties and constructors with examples •
How array can be created in javascript? Create 2-D array and display the array in HTML table •
Explain all the following built in objects with examples of each: •
Array Methods
Date Methods
String Methods
Math Methods
. 5. WAP that contains a text field for name, age, phone number, email, dropdown for colleges, radio for gender and a checkboxes for i accept all the terms. Perform the client side validations as: •
All fields are required
Name must contains alphabets and white spaces and of length greater than 6 characters long
Age must be integer and must be between and 50
Phone number must be exactly 10 digits long and must start with 98 or 97
Email must be valid
How events are handled in Javascript? Illustrate with examples •
WAP to show the concept of Try/Catch •
Write jQuery to show the concept of on click, on mouse out,onkeyup, on form submit events •
Illustrate how jQuery effects(hide/show, fade, stop can be done in any image) •
How animation is done using jQuery? Illustrate with exmaple •
How json file is created? How can we parse the JSON file using JavaScript? •
How AJAX is used to get the data from the server to the client side? Illustrate with example •
Create a simple XML element •
Create an XML document that conforms to the following DTD. •
Create a XML document with simple and complex type •
How XSLT is used to transform the XML document? Illustrate with example •