Well I am coding a simple Chatting script, and I have run into a problem with getting the chat body (where it shows the msgs) to reload after a user submits a message to it. Anyway the structure of my page is the following:
Main Window, with my site navigation, etc.
chat --> Iframe in the main body of the page.
chat_gateway.php --> Contains the frames:
frameset
frameset
chat_body --> Contains the msgs,
chat_members
/frameset
chat_send --> Contains the submitting script
/frameset
Now, I decided to have the onload in the chat_send frame, so that when the body of it loads, it triggers the chat_body frame to reload, what code would I put in the onload="CODE" in the chat_send frame?
*Has tried searching Google extensively but none of the things work, thinks its due to the use of that IFrame*
Main Window, with my site navigation, etc.
chat --> Iframe in the main body of the page.
chat_gateway.php --> Contains the frames:
frameset
frameset
chat_body --> Contains the msgs,
chat_members
/frameset
chat_send --> Contains the submitting script
/frameset
Now, I decided to have the onload in the chat_send frame, so that when the body of it loads, it triggers the chat_body frame to reload, what code would I put in the onload="CODE" in the chat_send frame?
*Has tried searching Google extensively but none of the things work, thinks its due to the use of that IFrame*