AJax is javascript...

So unless you want to submit the form, then no you do not need the form.
Which is handy because then you do not need to override or cancel the
onSubmit.


On 6/12/07, Phillip M. Vector <[EMAIL PROTECTED]> wrote:
>
> 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. :)
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Upgrade to Adobe ColdFusion MX7
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ 

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

Reply via email to