[jQuery] JQuery Ajax problem with only some internet explorers...
<html>
<head>
<meta http-equiv="Content-type" content="text/html;
charset=ISO-8859-1" />
<script language="JavaScript" type="text/javascript" src="http://
www.sporti.dk/lib/script/jquery-1_2_6.js"></script>
<script type="text/javascript">
function testA(){
phpurl = "http://www.sporti.dk/ajax/postcode.php?
country=DEN&postcode=2100";
$.ajax({
url : phpurl,
success : function(city){
alert( city );
$("#text1").html(city);
$("input[name='input1']").val(city);
if (city.length >= 1) {
alert( city.length );
}
}
});
}
</script>
</head>
<body>
<div id="text1"></div>
<form name="testform">
<input type=text name="input1" /><br />
</form>
<script type="text/javascript">
alert("start");
testA();
alert("slut");
</script>
</body>
</html>