Why file dialog box not opening?
<p>I am using following code to open a file dialog box, but nothing happens on button click(). What's wrong?</p>

<pre><code>&lt;input id="btnBrowse" name="btnBrowse" type="button" value="Browse" onclick="document.execCommand('SaveAs');"/&gt;
</code></pre>

<p><strong>Edited:</strong></p>

<p>Any other way to open such a dialog on other browsers as well?</p>
