Rank: Member
Groups: Member
Joined: 7/26/2005(UTC) Posts: 9
|
When I try to execute the send command from Opera I get an error: Error: name: TypeError message: Statement on line 137: Type mismatch (usually a non-object value used where an object is required) Backtrace: Line 137 of eval script the_uploader.send(); I've created a button to start the upload process. It works on all browsers but Opera. I'm using Opera 9.10. Here is the function I'm executing when I press the send button: Code:startUpload = function() {
var the_uploader = getImageUploader("ImageUploader");
the_uploader.Send();
}
It also fails when I try: Code:getImageUploader("ImageUploader").Send();
Any help, hints or tips would be appreciated. Thanks, Josh Edited by user Thursday, February 21, 2008 7:36:30 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello, Please read Helper Script Reference (iuembed.js). In your code you should have: Code:var iu = new ImageUploaderWriter("ImageUploader1", 650, 400);
The first parameter of constructor, the "ImageUploader1" is an identifier which you should use in your getImageUploader method calls. Edited by user Wednesday, October 29, 2008 2:41:17 AM(UTC)
| Reason: Not specified |
|
|
|
|
Rank: Member
Groups: Member
Joined: 7/26/2005(UTC) Posts: 9
|
Hi Alex, I do have: Code:var iu = new ImageUploaderWriter("ImageUploader", 670, 480);
It works with Opera when I was using java version 1. It just doesn't want to work with java version 2.1.3. Has something changed? Thanks, Josh Edited by user Thursday, February 21, 2008 7:37:43 PM(UTC)
| Reason: Not specified
|
|
|
|
Rank: Advanced Member
Groups: Member
Joined: 8/3/2003(UTC) Posts: 998
|
Hello,
That’s strange. Could you give the direct link to your Image Uploader page for us to test? |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.