Shaun,

It works, but I just fixed a bug in the file upload code.  You'll need
to grab the latest:

http://jqueryjs.googlecode.com/svn/trunk/plugins/form/jquery.form.js

Here's a sample of what you're trying to do:

http://www.malsup.com/jquery/form/file-test.html

Mike


On 8/24/07, Shaun Kester <[EMAIL PROTECTED]> wrote:
>
> I'm loading my form into a div via $.load() and attaching the form.
> The only field in the form is a file upload. My buffer on the server
> is empty after I submit and I am not getting any error messages. Does
> the file support in the form plugin work when the form is loaded with
> ajax?
>
> Code Sample
> -------------------------
>                 $('.MainItems').click(function(){
>                         var lRel = $(this).attr("rel")
>                         $("#FuncDetails").html('');
>                         
> $("#main").load('/Admin.scpc?&Prog=ViewItem&Type='+lRel+'&UserId='+
> $.cookie('scpc')+'&NoCache='+new Date().getTime(), function(data){
>                                 if (lRel == "JobList"){
>                                         $("#UpdatePanel").hide();
>                                         $('#UpdateToggle').click(function(){
>                                                 $("#UpdatePanel").toggle();
>                                         });
>                                         $('#frmUpdateJobListing').ajaxForm({
>                                                 url: 
> '/Admin.scpc?&Prog=SaveContent&Type=JobList&UserId='+
> $.cookie('scpc')
>                                         });
>                                 }
>                         });
>                 });
>
> TIA, Shaun Kester
>
>

Reply via email to