PHP + jQuery .ajax: POST
<p>i am working on PHP and jQuery trying to do a post with jquery. It seems to work in FF but IE is giving me several error:</p>

<p>The follwing is the code i am using:</p>

<pre><code>&lt;script&gt;
$(function()
{
$("#mainForm").submit(function()
{
dataString = $("#mainForm").serialize();
$.ajax({
type : "POST",
url : "/gops/views/groups//ajax.php",
data : dataString,
//dataType : "json",
success : function(data) {
gid = $("#group_id").val();
$('#load_skills').load('/gops/views/groups/get_skills.php?gid='+gid);
}
});
return false;
});///close submit
});//close function
&lt;/script&gt;
</code></pre>

<p>These are the errors i am getting in IE8:
Webpage error details</p>

<p>User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; BRI/2; InfoPath.2)
Timestamp: Thu, 19 Jul 2012 14:11:45 UTC</p>

<p>Message: Object doesn't support this property or method
Line: 3
Char: 13
Code: 0</p>

<p>Webpage error details</p>

<p>User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; BRI/2; InfoPath.2)
Timestamp: Thu, 19 Jul 2012 14:12:04 UTC</p>

<p>Message: Object doesn't support this property or method
Line: 3
Char: 13
Code: 0
URI:</p>

<p>Message: Object doesn't support this property or method
Line: 2
Char: 9
Code: 0
URI:</p>

<p>Message: Could not complete the operation due to error 80020101.
Line: 2
Char: 11321
Code: 0
URI: =1342707101099">http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js?=1342707101099</p>
