I have an Object in my javascript called file
. Running console.log(file)
allows me to inspect the object in Firebug like so...
Here is the problem: when I try to access file.status
I get 0
. file.name
and the other attributes all work fine... it is just status
that outputs 0
no matter what.
Any ideas what is going on???
BTW, this object is a plupload File object, if that matters. Also, the Webkit Inspector produces the same results.
Thanks!