Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

modal form with php

$ ( Document de ). ready ( function (){  	
	$ ( "button#submit" ). click ( function (){ 
		$ . ajax ({ 
			tapez : "POST" , 
			url : "feedback.php" , 
			data : $ ( 'form.feedback' ) . serialize (), 
			success : function ( message ){ 
				$ ( "#feedback" ). html ( message   ) 
				$ ( "#feedback-modal" ). modal ( 'masquer' ); }, 
			erreur : function (){ 
				alert ( "Erreur" ); } }); }); });
Source by www.phpzag.com #
 
PREVIOUS NEXT
Tagged: #modal #form #php
ADD COMMENT
Topic
Name
7+6 =