Valums file uploader: how to start with ID other than 0?

EaseteBus

New Member
I'm using http://valums.com/ajax-upload/[*]Unzip it and move the "client" folder onto a web server.[*]Open the "demo.htm" file in a text editor, search for \[code\]action: 'do-nothing.htm',\[/code\] and add \[code\]onComplete: function(id, fileName, responseJSON) {alert(id)},\[/code\] right after that.[*]Open the "demo.htm" file in a web browser. Be sure to access it through a web server (as opposed to just opening the local file) or else it won't work.[*]Upload a file. It should alert a "0" after the upload finishes. See if you can modify it so that I can pass in a different starting number.Thanks!
 
Top