If you are POSTING a form (for lack of a better word) 'object', it'll be in
the form scope.
It looks like your just trying to send a simple message though? If so just
change your method to 'GET' and you'll find it in the URL scope.
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
it should show up in the form scope. Are you setting the request
header like such:
xmlhttp.setRequestHeader(Content-Type, application/x-www-form-urlencoded);
What's the calling function look like? Are you using any of the
xmlHttp Ajax libraries?
On 11/13/05, Claude Schneegans [EMAIL
xmlhttp.setRequestHeader(Content-Type,
application/x-www-form-urlencoded);
Ah ah! I missed this one. Ok, gonna try id.
What's the calling function look like? Are you using any of the
xmlHttp Ajax libraries?
No, because I don't actually need xml, and I can parse messages by
myself, the only
It looks like your just trying to send a simple message though? If so
just
change your method to 'GET' and you'll find it in the URL scope.
For the time being, the text is rather small, but I may have much more
to pass, including several variables, since I don't expect the session
variables
I'm trying to implement XMLHttpRequest in an application
which send data to a CF template using the post method.
The send function is:
xmlhttp.send(messageSent= + messageToSend)
The CF template is called, but in which scope will it
receive the messageSent variable? I've tryied form, url,
Forget it : URL, of course! ;-)
--
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.
Let's try this again... my last message doesnt seem to be coming through.
You can POST a form 'object' which will be in the form scope on the cf page
you are posting to.
I usually keep xmlhttprequests pretty simple and hardly ever post forms
since I USUALLY have to write a non-js version for
7 matches
Mail list logo