Solved

adding second interactive table to the page

Posted on 2009-07-04
2
175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Suggested Solutions

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

726 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