DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2005
    Posts
    7

    newbie ajax question.

    Hi,
    I have never used ajax.

    I have :
    <table1>
    <tr>
    <td><table2> left table with links</table2></td>
    <td><table3> right main table for contents</table3></td>
    </tr>
    </table1>

    I want when I click in a link in table2 the content of table3 change.

    I will appreciate your help.
    thanks

  2. #2
    Join Date
    Sep 2007
    Posts
    1

    Smile Reply

    This is how you do it:
    HTML Code:
    <table>
    <tr>
    <td><table> <a href="#" onclick="document.getElementById('table3').innerHTML='Content for table 3'"</table2></td>
    <td><table id="table3"> right main table for contents</table></td>
    </tr>
    </table1>

Similar Threads

  1. AJAX and Scriptacolous - Simple Question
    By Cadillac in forum AJAX
    Replies: 0
    Last Post: 07-11-2007, 05:08 PM
  2. Ajax test question author needed
    By Michelleb in forum AJAX
    Replies: 0
    Last Post: 04-20-2007, 07:31 PM
  3. Replies: 1
    Last Post: 01-18-2003, 02:09 PM
  4. newbie question
    By Tim Wilkinson in forum Java
    Replies: 0
    Last Post: 04-26-2002, 05:40 AM
  5. NewBie question
    By Boosman in forum ASP.NET
    Replies: 1
    Last Post: 01-05-2002, 05:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links