How to get confirmation box along with the input value values entered in the form?
<p>I am designing a web application, in which I set and give lot of input values. On button click I want to get a brief details of what I have done on a confirmation window.</p>

<pre><code>&lt;asp:Button ID="DONE" runat="server" onclick="DONE_Click" Text="DONE"  OnClientClick="return confirm('Are you sure, you wish to create profile?');"/&gt;
</code></pre>

<p>Above is my sample what I have tried, which just asks <strong>Are you sure, you wish to create profile?</strong>, along with this I want details of what I fill in the form.</p>

<p>For example, If my form contains entering some fields like firstname, lastname. After entering the fields, When i clcik on button, the confirmation window should say :</p>

<p><strong>Firstname : textbox1.text and lastname : textbox2.text, Are you sure yo want to update in the database?</strong></p>

<p>Any help will be appreciated.
Thank you.</p>
