Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help Copying and Pasting a table

Status
Not open for further replies.

LongFeiFengWu

Technical User
Nov 9, 2001
98
US
The objective is to copy a table on button click and then remove it from the page. When a 2nd button is click, I want to put that table back on the page with everything intact. This includes all entries users may have placed into the forms.

What I have so far:

Code:
SUB ResolutionOFF_onClick()
LastHTML = table3.innerhtml
table3.innertext = ""
msgbox LastHTML
END SUB

SUB ResolutionON_OnClick()
row1.innertext = ""
table3.innertext = LastHTML
msgbox LastHTML
END SUB

ResolutionOFF = table copy and vanish
ResolutionON = bring table back

I have no idea what I'm doing, so any help will be greatly appreciated.

"If nothing within you stays rigid, outward things will disclose themselves. Moving, be like water. Still, be like a mirror. Respond like an echo." ~ Bruce Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top