.uploadifySettings not working as expected
Posted
by marcgg
on Stack Overflow
See other posts from Stack Overflow
or by marcgg
Published on 2010-06-07T12:41:21Z
Indexed on
2010/06/12
19:13 UTC
Read the original article
Hit count: 303
I'm using uploadify and the function to change the settings doesn't seem to be working.
I'm basing my code from the following example:
#(‘#someID’).uploadifySettings(’scriptData’, {‘name’ : some.val()});
So here's what I'm doing:
// INITIALIZATION
$("#"+elementId).uploadify({
// other data
"scriptData": {
"token": token
}
});
Later on I want to update the scriptData:
$("#"+elementId).uploadifySettings("scriptData",{"token": "pleasework"});
... but this is not working, it's still using the scriptData set during the initialization.
What am I doing wrong?
© Stack Overflow or respective owner