Skip to main content

Bug Tracker

Side navigation

#5025 closed bug (invalid)

Opened August 07, 2009 03:50PM UTC

Closed August 07, 2009 06:29PM UTC

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

Attachments (0)
Change History (2)

Changed August 07, 2009 05:42PM UTC by dmethvin comment:1

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?

Changed August 07, 2009 06:29PM UTC by dmethvin comment:2

resolution: → invalid
status: newclosed

Reopen if you can create a test case.