The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Using Dojo and JSON to Build Ajax Applications
Subject:  About JSON
Date:  2007-04-13 13:31:03
From:  pjpg0
Response to: About JSON


example2 worked before, but, now it got error, in this line, error: function(type, data, evt){alert("error");},

from the block:
var bindArgs = {
url: "actions/book.jsp",
error: function(type, data, evt){alert("error");},
mimetype: "text/json",
content: params
};
var req = dojo.io.bind(bindArgs);

Why I got this? please help me with this problem, I had it running for a while, did not change anything on example2, but, I restarted server, and could not get this example working anymore, Thanks,

 Feed java.net RSS Feeds