Take a look at PHP chat with no login screen!
Go straight to chat www.chatty.net very fast loading too.
Try changing your alias from guest, and click the SEND button, it works.
But change it and then press ENTER and the input frame dissapears .
This is the main parts of the message and alias text boxes, they are in different
forms, how can I stop it going blank when people hit enter??
*************** *************** *************** *******
<FORM NAME="MsgForm" ACTION="<?php echo($action); ?>" METHOD="POST" AUTOCOMPLETE="O FF" TARGET="<?php echo($target); ?>"
onSubmit="retur n window.parent.v alidateSubmissi on();">
<INPUT TYPE="text" NAME="M" SIZE="45" taborder=1 tabindex=1 MAXLENGTH="299" VALUE="<?php
echo(htmlspecia lchars(stripsla shes($ValM))); ?>">
<INPUT TYPE="hidden" NAME="sent" VALUE="0">
<INPUT TYPE="submit" NAME="sendForm" VALUE="<?php echo(L_OK); ?>">
</FORM>
<form name="aliasform ">
<INPUT TYPE="text" NAME="ZU" SIZE="5" MAXLENGTH="29" VALUE="<?php echo(htmlspecia lchars(stripsla shes(urlencode( $U)))); ?>">
</form>
*************** *************** *************** *******
Can I detect if they hit Enter while in the alias text box, then set focus somewhere?
Its like it submits a blank form and goes nowhere. is there a setting I can use on
<form name="aliasform "> to stop that?
Thanks
Herc
--
\ oo
\____|\mn
/ /_/ /\ \_\ - FREE THE TRUeMAN -
/ K-9/ \/_/ - Join www.chatty.net -
/____/_____\ - Webmasters join www.BannerX.net -
Go straight to chat www.chatty.net very fast loading too.
Try changing your alias from guest, and click the SEND button, it works.
But change it and then press ENTER and the input frame dissapears .
This is the main parts of the message and alias text boxes, they are in different
forms, how can I stop it going blank when people hit enter??
*************** *************** *************** *******
<FORM NAME="MsgForm" ACTION="<?php echo($action); ?>" METHOD="POST" AUTOCOMPLETE="O FF" TARGET="<?php echo($target); ?>"
onSubmit="retur n window.parent.v alidateSubmissi on();">
<INPUT TYPE="text" NAME="M" SIZE="45" taborder=1 tabindex=1 MAXLENGTH="299" VALUE="<?php
echo(htmlspecia lchars(stripsla shes($ValM))); ?>">
<INPUT TYPE="hidden" NAME="sent" VALUE="0">
<INPUT TYPE="submit" NAME="sendForm" VALUE="<?php echo(L_OK); ?>">
</FORM>
<form name="aliasform ">
<INPUT TYPE="text" NAME="ZU" SIZE="5" MAXLENGTH="29" VALUE="<?php echo(htmlspecia lchars(stripsla shes(urlencode( $U)))); ?>">
</form>
*************** *************** *************** *******
Can I detect if they hit Enter while in the alias text box, then set focus somewhere?
Its like it submits a blank form and goes nowhere. is there a setting I can use on
<form name="aliasform "> to stop that?
Thanks
Herc
--
\ oo
\____|\mn
/ /_/ /\ \_\ - FREE THE TRUeMAN -
/ K-9/ \/_/ - Join www.chatty.net -
/____/_____\ - Webmasters join www.BannerX.net -
Comment