File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes File Upload with jQuery 1.7.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "File Upload with jQuery 1.7.2" Watch "File Upload with jQuery 1.7.2" New topic
Author

File Upload with jQuery 1.7.2

Steve Dyke
Ranch Hand

Joined: Nov 16, 2004
Posts: 1436
In my web app I created the folowing page used to upload files. This code works fine when jQuery 1.3 is used in app but I get a js error when using jQuery 1.7.2. The file uploads ok but for some reason the call back causes the error I believe.

I am useing jQuery.form.js version 2.43

The error:

Object doesn't support this property or method

jquery.form.js
Line 339 Char 5

Code: 0

My page code(I realize the rendered code is preferable but I cannot figure out how to get the renderd page source when embeded div tags are used. All I get is the source of index page):



In my servlet I have:

Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Well jQuery upgrade from 1.3 had breaking changes with attr and prop. There should be other things that changed too.

Eric
 
Don't get me started about those stupid light bulbs.
 
subject: File Upload with jQuery 1.7.2