Ajax way of getting bitStream ?
<input type="file" id="inputBrowse" />
How do I use Ajax to send the bit stream to the server?
I don't think you can. It has to do with security that prevents js from accessing the local file system. The only thing js can access from a file type <input> is the filename.
It seems like you should be able to relay the contents of the file to an XMLHttpRequest without accessing the file, but I am unaware of such a mechanism.
What exactly you want to do?
Want to post a form and send only a file?
The only way I know of to upload a file without reloading the page is to put your <input type="file"> in a hidden iframe.