How do i ensure my asp.net validators fire before i call client side javascript
<p>I have an asp.net application with basic CRUD functionality. On a page where i am capturing customer details i have several asp.net validators to required fields. I have attached a JS confirm box on the asp.net save button for the form. The trouble is that when the user leaves required fields unfilled and clicks the save button, the JS confirm box comes up, when the ok button is clicked, the save method is called successfully and only after this happened do the asp.net validators fire and display that required information has been left out.</p>

<p>How can i cause the validators to fire before the JS box pops up?</p>
