我想在firefox中执行以下代码
Ext.Ajax.request({
url: "http://localhost:1979/geoserver/j_spring_security_check?",
method: "POST",
scriptTag: true,
params: {
username: username,
password: password
},
success: function () {
alert("ok");
}
});
出于某种原因,这段代码永远不会在firefox或chrome中执行(即工作正常)
提前致谢