I'm trying to get YUI uploader work on my computer / localhost, by using this example . The javascript the page use, can be view here.
The upload button has the following handler:
YUE.on('upload', 'click', this.upload, null, this);
(...)
upload : function(e) {
YUD.get('browse').style.display = 'none';
this.uploader.disable();
this.uploader.uploadAll('wp-content/themes/storelocator/include/upload.php', 'GET');
},
The PHP file looks like this:
<?php
echo "TEST";
?>
When I click the upload button, the page is reloaded, but nothing is echoed. The upload button is simple html button <button id="upload">Upload</button>
.
Is there are reason why "test" is not echoed?