Skip to main content

Bug Tracker

Side navigation

#1877 closed bug (invalid)

Opened November 01, 2007 02:10PM UTC

Closed November 06, 2007 04:11AM UTC

$.get in IE6

Reported by: shatrov Owned by:
Priority: critical Milestone: 1.2.2
Component: ajax Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:
Description

this code don`t working in IE6 (in FF and Opera - ok)

$(function(){
  $.get("/mod/catalog/item.php?item_id="+id,
    {type: "xml"},
    function onAjaxSuccess(xml){
      alert("Data Loaded: " + $("title", xml).text());
    }
  );
});
Attachments (0)
Change History (2)

Changed November 02, 2007 10:25AM UTC by shatrov comment:1

Sorry, it`s my bug!

I add this code in item.php and all work true:

<?php

if($_GET["browser"]=="ie"){

header("Content-type: text/xml");

}

else{

header("Content-type: application/xhtml+xml");

}

?>

Changed November 06, 2007 04:11AM UTC by Bradley comment:2

resolution: → invalid
status: newclosed

Submitter asserts this is not a bug. Marking invalid. Repost if necessary.