Lab Assignment – III (JavaScript and XML)
Illustrate with examples the concept of alert, confirm and popup boxes • Code
WAP in javascript to demonstrate the objects, its properties and constructors with examples • Code
How array can be created in javascript? Create 2-D array and display the array in HTML table • Code
Explain all the following built in objects with examples of each: • Code
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: • Code
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 • Code
WAP to show the concept of Try/Catch • Code
Write jQuery to show the concept of on click, on mouse out,onkeyup, on form submit events • Code
Illustrate how jQuery effects(hide/show, fade, stop can be done in any image) • Code
How animation is done using jQuery? Illustrate with exmaple • Code
How json file is created? How can we parse the JSON file using JavaScript? • Code
How AJAX is used to get the data from the server to the client side? Illustrate with example • Code
Create a simple XML element • Code
Create an XML document that conforms to the following DTD. • Code
Create a XML document with simple and complex type • Code
How XSLT is used to transform the XML document? Illustrate with example • Code
Last updated
Was this helpful?