Bug Tracker

Opened 15 years ago

Closed 15 years ago

#2201 closed bug (worksforme)

$.get() in IE6 & IE7

Reported by: MWK Owned by:
Priority: major Milestone: 1.2.3
Component: ajax Version: 1.2.2
Keywords: Ajax $.get() Cc:
Blocked by: Blocking:


I encounter problems with the $.get() method in IE. in FF everything seems to be fine.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--meta -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />
<script type="application/javascript" src="jquery.js"></script>

<div id="trace">

<script type="text/javascript">
	$.get("replyget.test.php5", {id:'Hola'}, function(html)


reply file

	echo "Relpy<br />";
	echo ('<pre>');
	echo ('</pre>');


In IE nothing happens. It keeps the page blank. In FF everything works fine.

Change History (1)

comment:1 Changed 15 years ago by davidserduke

Component: coreajax
Resolution: worksforme
Status: newclosed

I didn't know this either, but apparently IE doesn't like type="application/javascript".

Changing the jquery.js line to

<script type="text/javascript" src="jquery.js"></script>

fixed the test case for me.

Note: See TracTickets for help on using tickets.