5,838
edits
m (→Alternative JavaScript: made description much more concise) |
m (→Understanding the Basics: Clarification re jQuery versions) |
||
: In the <HEAD> section.....
<pre><link rel="stylesheet" type="text/css" media="screen" href="datasummary.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.
<script src="readDayfile.js" type="text/javascript"></script></pre>
: This loads the stylesheet; loads a jQuery library from Google servers (rather than having the file on your server, note later versions of jQuery are available, but not supported by old versions of Internet Explorer, amend the '1.5' used by DAJ if you want to); and loads the Javascript to build the table
: Once the page is loaded it runs readDayfile.js and will look for a DIV called 'tableData'; inserting the data table within it. You can change the DIV it inserts into (see
*for the PHP version
|
edits