File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File Upload with jQuery 1.7.2

 
Steve Dyke
Ranch Hand
Posts: 1602
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic