How to display a message on the first press of a button?
<p>I need to display the message with first time the button is pressed only. If I press the button again, it will redirect me. How to do in javascript? </p>

<p>I have submit button, first time press button it will show the message. Pressing the same button the next time should NEVER SHOW the message, it should forward to the next page.</p>

<p>Please show me how to do this in javascript?</p>
