带有 jquery 1.7.1 的 Asp.net 页面当我通过 Eclipse 中的模拟器从 Android 手机发布它时,没有http://www.somedomain.com/的帖子完美运行。如果我包含 http url,它就不起作用。wfo_s.aspx 可以插入数据库,但http://www.somedomain.com/wfo_s.aspx不行
如果有人能解释为什么会发生这种情况,我将不胜感激。谢谢!
//this does not work?
//$.post("http://www.somedomain.com/wfo_s.aspx", { the_User: theheatmap, conn: db_connection }, function (data) { });
//$.post("http://www.somedomain.com/wfo_s.aspx?the_User=" + theheatmap + "&conn=" + db_connection);
//this does work, why does the post to the url not work, page works fine
//$.post("wfo_s.aspx", { the_User: theheatmap, conn: db_connection }, function (data) { });
//$.post("wfo_s.aspx?the_User=" + theheatmap + "&conn=" + db_connection);