Examples - Chatbox

This example shows how easily and quickly you can implement a chatbox using DynAjax engine.

A sample code:

---Place to display Results---
<div id="result"></div>

---Form to enter a message to send---
<div id="params">
    <input type="button" value="Send"
        onclick="dynajax.request('respfile: messageboard.php; resultloc: result;
        paramloc: params;')" />
    <input name="mymessage" type="text" value="" size="60" />

---For autorefresh---
<script type="text/javascript">
    dynajax.request('respfile: messageboard.php; resultloc: result; refreshtime: 3000;');

The chatbox in action


Click here to proceed to the next example
Click here to get DynAjax