views:

491

answers:

0

Hi,

I found an excellent script over the internet for styling file upload (http://valums.com/wp-content/uploads/ajax-upload/demo-jquery.htm). And it works perfectly for me in IE, FF. But there's a problem with Chrome 3, which I can't figure out how to fix...

Problem happens in this event handler:

addEvent(iframe, 'load', function(e){
...
var doc = iframe.contentDocument ? iframe.contentDocument : frames[iframe.id].document;

After that doc variable is nothing and I don't understand why. Did anyone test this script on Chrome 3?