Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

fileObj and creationDate
  • I need to capture the creationDate and modificationDate on each file uploaded. I see the fileObj parameter in onOpen or onSelect, and can retrieve the fileObj.name, fileObj.size, etc as follows:
    'onOpen': function(event, queueID, fileObj) {
    for (key in fileObj) {
    alert("key is " + [key] + ", value is " + fileObj[key]);
    };
    }
    I can see how I could append name, size, etc to a hiddenfield value using delimiters, however the date objects only display as [object Object]. How can I get these date objects as a string value?

    Thanks for your help.
  • I guess what I'm asking here is how do you convert (cast?) an object in jquery to a string. If this were C# or VB.NET in code behind, then it's pretty simple, but as far as I can see the Value property of a hidden field is a string value.

    Any help would be greatly appreciated.
  • Nevermind. Figured it out. Thanks