HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Changing the contents of a table on click w/o reloading
Post new topic   Reply to topic    HTML Help Forum -> General HTML
View previous topic :: View next topic  
Author Message
relic180



Joined: 06 Jun 2009
Posts: 1

PostPosted: Sat Jun 06, 2009 2:36 pm     Changing the contents of a table on click w/o reloading Reply with quote

I'm trying to allow users to click 1 of 2 buttons to load content into a table. Here's a link to the page as it is now:
[link removed]

In the brown table to the right, I'm trying to allow users to click on one of the two tabs to show different content without loading a new page. I attempted to try and use an "innerHTML" approach, but it didn't seem to work right when I added formatting to the content (or I just did it wrong).

The tabs are 'input' elements, and clicking on them already reloads the page (which I don't want) so I'm a little unsure as to how to approach this and I'm looking for whatever help I can get.

Thanks guys Evil or Very Mad
nikki



Joined: 24 Nov 2008
Posts: 132

PostPosted: Thu Jun 18, 2009 10:21 am     Reply with quote

Use Ajax
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> General HTML All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial