An example web page showing a list of the upper level nodes in its
HTML element structure.
Get display stats: by clicking a button, the computer
screen height, width and colour depth is displayed as a new
paragraph at the end of the existing content
Examples showing how mouse events invoke Javascript functions tha
change HTML elements
Example 1
Uses Javascript to create every element to be displayed
Example 1
Uses Javascript to create a DIV element and changes the innerHTML
with a single string.
Example 1
Uses jQuery t o create the HTML elements to be displayed
Reading files has a browse button where you can select
a file to display. A text file is displayed in red, showing how styles
can be changed. An image file is displayed in a newly created img element.
All other files replace the file-text display area with an error message.
jQuery examples
Drop down menu with jQuery control is here. Example from Chapter 7 of Javascript &
jQuery: the Missing Manual