Solved

adding second interactive table to the page

Posted on 2009-07-04
2
171 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
Read about why website design really matters in today's demanding market.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

706 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

23 Experts available now in Live!

Get 1:1 Help Now