Andrew Scott wrote:
> I am not sure what your question is asking. When you say enter Button, are
> you referring to hitting the enter key? Because I do not see a button in
> your code?

Yes. I mean the enter key. :)

> On a side note, this is not an Ajax problem but what it appears to be if I
> am guessing right is that the call to the server via
> 
> var url="index.cfm?fuseaction=Chat.CheckMessages";
> 
> May be throwing an error at a guess.

CheckMessages works perfectly. It's the other one that isn't (EnterMessage).

> Might I suggest getting firefox, downloading the plugin fireDebug and
> switching on HTTPRequests this will at least give you more information on
> whether the call to the server is in fact throwing an error. Or you could
> just look into the CF logs, but fireDebug is an easier and quicker way of
> knowing.

I have firebug installed before. The call isn't happening at all. I get 
the "onkeydown" call, but not the "onenter" call.

> Also by looking at your code, you have no submit button. Which means that to
> wrap the <input type="text"> in a form is not necessary either. Unless you
> want to submit the entire form, but judging by your code this is not what
> you are doing. So the form tags are not needed in this example.

Oh? I thought you needed the form tag for ajax calls. Good to know. :)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 by AdobeĀ®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280730
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to