Welcome Guest, Not a member yet? Register   Sign In
uploading using ajax and uploading class
#12

[eluser]phazei[/eluser]
Oh, what I was doing wrong was something like
$('input[type=file]').attr('disable','true');
So people couldn't click the button again. That was done in the "beforeSubmit" function. Disabled input fields aren't submitted, so that was my brain fart.

I don't know what's wrong with your code.

Though, if you are only using the jQuery validation plugin, it won't work. You can't specifically upload a file directly through AJAX. Not possible. You can get ajax like functionality with the jQuery form plugin or a number of other ones. The form is actually submitted in a hidden iframe the normal way. But it appears just like ajax.


Messages In This Thread
uploading using ajax and uploading class - by El Forum - 02-05-2009, 01:49 AM
uploading using ajax and uploading class - by El Forum - 02-05-2009, 02:03 AM
uploading using ajax and uploading class - by El Forum - 02-05-2009, 02:32 AM
uploading using ajax and uploading class - by El Forum - 02-10-2009, 04:58 AM
uploading using ajax and uploading class - by El Forum - 02-10-2009, 07:25 AM
uploading using ajax and uploading class - by El Forum - 02-10-2009, 08:41 AM
uploading using ajax and uploading class - by El Forum - 02-10-2009, 08:45 AM
uploading using ajax and uploading class - by El Forum - 02-11-2009, 06:50 AM
uploading using ajax and uploading class - by El Forum - 02-11-2009, 09:04 AM
uploading using ajax and uploading class - by El Forum - 02-11-2009, 01:35 PM
uploading using ajax and uploading class - by El Forum - 03-29-2009, 06:06 PM
uploading using ajax and uploading class - by El Forum - 03-31-2009, 12:38 AM
uploading using ajax and uploading class - by El Forum - 03-31-2009, 03:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB