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