Posting files with Jquery AJAX

I am using

						type: "POST",
						dataType: 'json',
						contentType:attr("enctype", "multipart/form-data"),
						url: "index.php",
						data: $(form).serialize(),
						success: function(response) {

Open in new window

I read somewhere that not all browsers will serialize file input fields, please advise
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

Big MontyConnect With a Mentor Senior Web Developer / CEO of Commented:
check out thejQuery Form Plugin:
All Courses

From novice to tech pro — start learning today.