February 2014
Intermediate to advanced
410 pages
8h 15m
English
We can use jQuery to dynamically modify element properties such as class, style, and disabled, which means that it is possible to visually alter and change the function of a range of HTML elements.
Once again, this recipe requires an additional blank HTML document. Create a file named recipe-5.html, and have it open and ready for editing.
Learn how to alter the properties of the DOM element by performing each of the following steps:
recipe-5.html file in order to create a basic HTML page with two types of inputs:<!DOCTYPE html> <html> <head> <title>Modifying DOM element attributes and properties</title> <script src="jquery.min.js"></script> <script> ...
Read now
Unlock full access