[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

adding second interactive table to the page

Posted on 2009-07-04
2
Medium Priority
?
182 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 2000 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
Suggested Courses

656 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