I am using valums ajax file upload and I have some issues with having multiple upload buttons on the same page. May be I am missing something?
below is the code for 1 upload button.
<div id="file-uploader-demo1">
<noscript>
<p>Please enable JavaScript to use file uploader.</p>
<!-- or put a simple form for upload here -->
</noscript>
</div>
<script>
function uploader(){
var uploader1 = new qq.FileUploader({
element: document.getElementById('file-uploader-demo1'),
action: 'do-nothing.htm',
debug: true
});
}
// in your app create uploader as soon as the DOM is ready
// don't wait for the window to load
window.onload = uploader;
</script>
Thanks. Aanu