Return to Snippet

Revision: 36424
at November 22, 2010 01:16 by kreamweb


Initial Code
  <form  action="sendordine.php" method="post" id="myform">
  <!-- content form -->
  <div class="bottone"><a href="javascript:;">Invia l'ordine</a></div>
  </form>

<script>
$('document').ready(function(){
	$('.bottone a').click(function(){
	   	if(confirm('Vuoi procedere con l\'invio dell\'ordine?')){
    	  $("form").submit();
    	}
	});
            
});
</script>
</body>
</html>

Initial URL

                                

Initial Description

                                

Initial Title
submit di un form con richiesta di conferma - jquery

Initial Tags

                                

Initial Language
JavaScript