Hello monks,
I am in the process of constructing a chat room via my web site. I've created a cgi script which in turn generates an HTML page composed of several frames, one being the main window for the chat(text) to be displayed, and a second smaller frame, where I have my textbox and 'submit' button. Unfortunately, I'm currently at work, so I don't have access to my code for examples.
I have completed the logging in process, which brings the user to the pages of frames. I can enter text for the chat bar at the bottom, and submit it, but I would like to know how I can submit the information silently to the main chat window and refresh the textbox, and remove the text from it after submission. I'm sure this is a simple task, but I'm stuck, does anyone have a suggestion?
Thanks again!
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.