Pergunta

Using Uploadify 3.2, is there a way to check if an item exists in the upload queue? Most of the methods I found searching online seem to no longer work in the latest versions.

Foi útil?

Solução

Okay I managed to figure this out myself using jquery. I just did a count on the number of children of the queue and used that number to determine whether an item had been uploaded to the queue or not.

My code ended up resembling this...

if ($("#upload-queue > div").size() == 0) {
    // the queue is empty
}
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top