File Uploader
Hi,
Currently i am using html input[file] to browse and select the file.
like ; <!-- <input type="file" name="media" id="fileselect" --
i want to use camera service instead of this html file control and map the selected file by camera service to the "fileselect".
if this is not possible then tell me how can i replace this by camera service. without disturbing current functionality.
I have panel, in panel i have form, fielselect with submit button to post form to other url.
my code (in panel):
<!--
Code: Select all
<form method="post" enctype="multipart/form-data" action="[url=http://imageshack.us/redirect_api.php]http://imageshack.us/redirect_api.php[/url]" hidden="hidden"
<input type="file" name="media" id="fileselect"
<input type="hidden" name="key" value="xyz"
<input type="hidden" name="error_url" value=""
<input type="hidden" id="su" name="success_url" value=""
<input id="upd" type="submit"
</form <script type="text/javascript"
// set event listener for call preview after select file
var fileselect = $('#fileselect');
fileselect.bind("change", fileSelectHandler);
</script
--