XUpload - JS Problem in IE7

Message
Author
snatch
Posts: 2
Joined: Aug 06, 2007 11:57 am

JS Problem in IE7

#1 Postby snatch » Aug 06, 2007 12:06 pm

Hello,
im using the XUpload Pro 2.5 Version, and i got a javascript problem with the Internet Explorer 7. The error popup told me that the error is on line 78 and char 6.
But i dont know what the error can be, becouse on line 78 stands this:

Code: Select all

     if($('upload_form'))
     {
         $('upload_form').style.position='absolute';
         $('upload_form').style.left='-9999px';
     }
Can you help please?

snatch

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Aug 06, 2007 1:22 pm

Make sure you have this line in upload_form.html

Code: Select all

<div id="upload_form">
it you don't, then you have modified HTML code yourself and should probably use original one.

snatch
Posts: 2
Joined: Aug 06, 2007 11:57 am

#3 Postby snatch » Aug 06, 2007 2:10 pm

i have copied the original, but the name is "upload_form1". when i change the name to "upload_form", the upload crashes.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » Aug 07, 2007 5:11 am

Please PM me your upload_form.html URL so I can diagnose it quickly.

dies
Posts: 2
Joined: Jan 21, 2008 1:14 pm

Help!

#5 Postby dies » Jan 21, 2008 1:18 pm

Hello !
I got exactly the same problem ... except that I already got a div called "upload_form1" ... the progress bar works on IE6 and firefox but not on IE7 ... please help ! :shock:

dies
Posts: 2
Joined: Jan 21, 2008 1:14 pm

#6 Postby dies » Jan 21, 2008 2:11 pm

... the line that causes this error is line 77 in xupload.js :

Code: Select all

self.transfer2.document.location = url+'&inline_pro=1';
... but i don't understand what is the problem ...

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#7 Postby PilgrimX182 » Jan 22, 2008 1:38 pm

Do you have the same problem with our demo: http://www.sibsoft.net/upload_form_pro.html ?