[jQuery] Compatibility problem?

[jQuery] Compatibility problem?


Hi,
I've got some code which is working fine in FF3, Opera 9 and IE8 (!).
But it's not working in IE6/7.
What could be a problem?
$(document).ready(function() {
$.ajax({
type: "POST",
dataType: "text",
processData: false,
url: "./DFWebService.asmx/checkLoginTyp",
data: "",
success: function(data) {
var ret = "#";
ret += $(data.replace(/&lt;/g, "<").replace(/&gt;/
g, ">")).text();
$(ret).attr("checked", "checked");
$(".login").removeAttr("disabled");
}
});
});
On the website there are 2 radiobuttons with id and I'm receiving this
id from web service.
I've checked and I'm receiving it correctly, but it's not marking any
at all. And also it's not removing attribute disabled from them.
This problem occurs only in IE7 in other browser everything is ok.