JavaScript - Dynamically Creating Tables
HomeHTAJScriptJavaScriptPHP
Main Menu Home HTA JavaScript JScript PHP Examples Dynamically Creating Tables Dynamically Chaning Links Script Box Wormbites 2006 Includables ezCalendar getOrdinalFor(...) jPaq Other Libraries jQuery Prototype script.aculo.us

The example below creates a multiplication table after the user specifies the maximum number.  The table is created by using both the innerHTML property and the createElement method.  It is important to note that the createElement method is only part of the document object whereas the innerHTML element can be used with many different types of HTML elements.

Related Search Results

  1. JavaScript Snippet - Get Current HTML Code:
    Learn how to access the HTML code that composes the page at this exact moment.
  2. JavaScript Snippet - getOrdinalFor(...):
    Get the JavaScript code snippet which allows you to add the correct ordinal to any integer.
  3. JavaScript - Why Use getAttribute(...) In JavaScript?:
    Learn why getAttribute is at times more useful that dot notation and bracketed notation.
  4. JavaScript - ezCalendar:
    Provides a JavaScript solution for selecting dates from a calendar.
  5. JavaScript - GET Object Emulation:
    Learn how to emulate the GET object with JavaScript.