1428 Part V . Putting JavaScript to Work (Web design tools)

1428 Part V . Putting JavaScript to Work described earlier, is invoked several times again to derive the quota percentage for the accumulated grand total values in each quarter as well as the complete year. SELECT controls To round out the code listing for this application, the values assigned to the two SELECT elements obviously have a lot to do with the execution of numerous functions in this application. Nothing magic takes place here, but you can see the extent of the detail required in assigning script-meaningful hidden values, and human- meaningful text for both SELECT elements. For example, dividing lines help organize the long sort key list into three logical blocks.

Sort by:    Ordered:

Dreams of Other Views Confining the example to just one type of view a table of numbers should help you grasp the important processes taking place. But with the XML data converted to JavaScript objects, you can build many other views of the same data into the same page. For example, a script could completely hide the numeric table, and generate a different one that draws bar charts for each sales representative or each region (see Chapter 55 for a scripted bar chart example). The horizontal axis would be the four quarters, and the vertical axis would be dollars or quota percentages. Clicking a bar opens a small window or layer to reveal more detail from the sales representative s record, such as the name of the person s manager. More SELECT
Note: If you are looking for cheap and reliable webhost to host and run your mysql application check mysql web server services.

Leave a Reply