Bug Tracker

Opened 10 years ago

Closed 10 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 10 years ago by dmethvin

Component: unfilledajax
need: ReviewTest Case
Priority: majorminor

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?

comment:2 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

Reopen if you can create a test case.

Note: See TracTickets for help on using tickets.