iddanand wrote:How to create a blank MS-Word document in onclick event and it should be stored in the database.
This is one of those questions that just makes me shrug my shoulders and wonder why someone would want to do such a thing.
Assuming there is some good reason, if all you want is an empty document, then just create one manually, upload the file to your site, and copy that file whenever you need a new one.
As far as triggering such an action from an onclick event, just do a search on AJAX tutorials.