dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: newbie ajax question.

  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, 03: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, 06:29 AM

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


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center