Opened 14 years ago
Closed 14 years ago
#5025 closed bug (invalid)
bug Internet Explorer 8
Reported by: | Nexus | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.4 |
Component: | ajax | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello
dont work:
var file = $(var_this).attr('href'); $.ajax( {
url:"index.php", type:"POST", dataType:"html", data:{mod_rewrite:'admin',act:'file_get',name:file}, success:function(data) {
alert("sss"); $("#source").val(data);
}, error:function(XMLHttpRequest,textStatus,errorThrown) {
alert(textStatus);
}
});
_
worked:
var file = $(var_this).attr('href'); $.ajax( {
url:"index.php", type:"POST", dataType:"html", data:{mod_rewrite:'admin',act:'file_get'}, success:function(data) {
alert("sss"); $("#source").val(data);
}, error:function(XMLHttpRequest,textStatus,errorThrown) {
alert(textStatus);
}
});
look here: data:{mod_rewrite:'admin',act:'file_get',name:file}, dont work data:{mod_rewrite:'admin',act:'file_get'}, is ok
Change History (2)
comment:1 Changed 14 years ago by
Component: | unfilled → ajax |
---|---|
need: | Review → Test Case |
Priority: | major → minor |
comment:2 Changed 14 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Reopen if you can create a test case.
Please provide a complete test case. What is the error that occurs? If you trace it with Fiddler or a network analyzer, is the data going to the server?