Solved

adding second interactive table to the page

Posted on 2009-07-04
2
173 Views
Last Modified: 2013-11-19
In the following page, the first one-row table is interactive.  Letters will appear in the cells when clicking the 'show letters' button, and disappear when clicking the 'reset' button.

But the second table is not interactive, but static.  I like to see that the letters of 'FLORIDA' will appear when clicking the 'show letters' button, and go away when clicking the 'reset' button.

http://www.pinyinology.com/listing/quote/test2.html
0
Comment
Question by:fuli3665
2 Comments
 
LVL 2

Accepted Solution

by:
kjaswal earned 500 total points
ID: 24777328
Try the attached file (change the extension to .html from .txt).  I used an array to store the separate strings to be printed.  Each table is generated to accommodate the length of the string, and is given a special id that incorporates its loc (location in the array).  Then, when the buttons are clicked, the loc variable is set and the table is either updated or cleared.
test2.txt
0
 

Author Comment

by:fuli3665
ID: 24779918
thanks a million.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now