wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 1393
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File Upload with jQuery 1.7.2
 
Similar Threads
Upload a File Using jQuery
popup in small window is not closing automatically
DIV Tag Loading Behavior is Erratic
Getting Error on Upload Process
Dependable dropdowns in jsp(struts2)