JSAPI JSTransferCompleted

Upload core product.
Post Reply
Mcooper
Posts: 5
Joined: Fri Nov 12, 2010 3:25 pm

JSAPI JSTransferCompleted

Post by Mcooper »

I am trying to get a form to submit after the upload completes but I can not seem to get it to work.

Here is the JS code

function JSTransferCompleted()
{
document.upload.submit();
}

The forms ID is upload so I am not sure why it is not submitting?

I have tested JSAPI and know it is working it will return a value for a form field but will not submit the form.

I do not know a lot of JS so that probably is the problem.

Mcooper
Posts: 5
Joined: Fri Nov 12, 2010 3:25 pm

Re: JSAPI JSTransferCompleted

Post by Mcooper »

I got it working.... Forgot you can not have a button that is also calling submit() because it conflicts with the JS function.

Post Reply