IE6 jQuery .load Issues


I am trying to load a PHP file using jQuery .load and passing through an ID. The code is working fine in everything apart from IE6 as normal.

IE6 does not seem to pass the post values through. I have alerted them before they are sent through and even hard coded some value in, but IE6 does not seem to send them through to the PHP file.

Just wondered if anyone knows if this is a common issue with IE6 and .live or .load or if anyone knows of a solution.

	// Edit Query
	$(".editQuery").live('click', function() {		
		var $editID = $(this).parents('tr').attr('id').replace(/query_/, '');
		$('#contentWrap').load("queryResponse/includes/"+$(this).attr('href')+"", {
			editID : $editID,
			queryType : 'FAQ'
		}, function (){
		return false;

If I alert $editID I get the correct value and on other browsers it posts correctly.

If anyone has any ideas at all, it would be a great help



I had this exact same issue, it’s IE6 boosting the href variable. In my example the href was inserting the full path in the href where other browsers were not.
For example using href=“thisPageDOTphp” $(this).attr(‘href’) was being passed as fullURL/thisPageDOTphp. instead of thisPageDOTphp like the non url boosting proper browsers send.
To solve this issue I used a $(this).attr(‘href’).replace(/theURLstring/,‘’).

P.S. I only managed to resolve this using an ajax error handling script

			type: "POST",
			data: post_string,
			cache: false,
			url: theHref,
			timeout: 2000,
			error: function(x, e) {
					alert('You are offline!!\
 Please Check Your Network.');
				}else if(x.status==404){
					alert('Requested URL not found.');
				}else if(x.status==500){
					alert('Internel Server Error.');
				}else if(e=='parsererror'){
Parsing JSON Request failed.');
				}else if(e=='timeout'){
					alert('Request Time out.');
				}else {
					alert('Unknow Error.\

			success: function(r) { 

This code was found on this forum but as i have not posted here I cannot link back to their post - thanks to those guys though!