Yes the div with id "Preview" is available. If I use the standard .serialize and .load from jquery it works well but unfortunately .serialize does not handle file uploads.
Peter On 12 Feb., 14:26, "Jonathan Vanherpe (T & T nv)" <jonat...@tnt.be> wrote: > And more importantly, does it have the same case? > > > > Marty Jones wrote: > > I know this may sound silly but do you have a div element with a id of > > 'Preview'? > > > On Feb 12, 5:43 am, Piet<peter.fr...@sellbytel.de> wrote: > >> Dear all, > > >> I m using ajaxSubmit to send a form (incl. fileuploads) to my server. > >> Everthings works well but the response from the server will not > >> displayed in the defined target (<div id="Preview">). Instead of the > >> response is display in target="_blank". > > >> What could be wrong??? > > >> The submit bind is > > >> $(document).ready(function() { > >> $('#store').bind('submit', function() { > >> $(this).ajaxSubmit({ > >> target: '#Preview' > >> }); > >> return false; > >> }); > >> }); > > >> Greetings > > >> Peter > > -- > Jonathan Vanherpe - Tallieu & Tallieu nv - jonat...@tnt.be