Search:
Type: Posts; User: TimeWarDoctor
Search:
Search took 0.02 seconds.
-
Tried changing to GET but still no luck:
$.ajax({
type: "GET",
url: "http://L45723:1802?test1=test2",
//dataType: "json",
async: true,
...
-
I have a javascript/jQuery function:
function getResponse() {
var currentDate = new Date();
var sendMessage = JSON.stringify({
SendTimestamp: currentDate,...
-
function getResponse() {
var currentDate = new Date();
var sendMessage = JSON.stringify({
SendTimestamp: currentDate,
Message: "Message 1"
...
-
Thanks so much for your help! Very informative. And thanks for your patience with an obvious novice like me.
I followed that link and redid the code:
function getResponse() {
...
-
The page which contains the javascript is in http://L45723/TestComet/ShowComet3.aspx
The Comet server is http://L45723:1802
Are they in different domains? How do I get them into the same...
-
Did as you suggested but now I get an "Access to restricted URI denied" error on receiveReq.send(sendMessage); call.
-
Do you mean like this:
encodeURI(sendMessage)
-
I have the following code in Javascript to talk to my Comet server:
function getXmlHttpRequestObject() {
if (window.XMLHttpRequest) {
...
|
Click Here to Expand Forum to Full Width
|