Forum Moderators: open
ajaxUpdater function looks like ... I can only assume that the answer is "yes". In short -- there is nothing that would prevent what you describe from happening, unless there is something in the code explicitly prohibiting it. To update two divs:
<a href="#" onclick="ajaxUpdater('pic','cc2.php'); ajaxUpdater('pac','cc3.php'); return false;">
To get it to update a paragraph (or similar) ... I assume the element is identified using the id attribute. Thus, something like this should work:
<p id="foo"></p>
And then:
<a href="#" onclick="ajaxUpdater('foo','cc2.php'); return false;">
Sorry for being so vague, but I'm more in tune with html and css than programming.
I noticed you used
<a href="#" onclick="javascript... whereas I used
<a href="javascript... Is there any reason my way is wrong? I opted for this method because using # as the href makes the page jump back to the top. In 1024 x 768 the link is a roll of the mouse wheel down the page.