barkermn01
04-11-2008, 07:47 PM
I need to know how to Build AJAX to read a XML
and then if ther is certain tags there react buy calling functions
Functions i have and what they do
all in Javascript
New_msg(Sender, When, Msg);
// Checks for a open window with name from var Sender
// if open sends msg to function add_msg(msg, when) in side open windows named from var Sender
// if not open opens a windows loading a script
new_frd(name);
// open a windows to a php page called add_mate.php
// then calls function rl_mates();
rl_mates();
// re build the freinds list allowing user to chat to them
Then XML Reader check for more then what is currently loaded from the tags <friends/>
if there is a new one add it to the list of users currently working
and then if ther is certain tags there react buy calling functions
Functions i have and what they do
all in Javascript
New_msg(Sender, When, Msg);
// Checks for a open window with name from var Sender
// if open sends msg to function add_msg(msg, when) in side open windows named from var Sender
// if not open opens a windows loading a script
new_frd(name);
// open a windows to a php page called add_mate.php
// then calls function rl_mates();
rl_mates();
// re build the freinds list allowing user to chat to them
Then XML Reader check for more then what is currently loaded from the tags <friends/>
if there is a new one add it to the list of users currently working