Contact form 7 success or failure message show in popup

Add your popup code between if and else if condition $(“.wpcf7-submit).click(function(event) { $( document ).ajaxComplete(function() { var result =$(“.wpcf7-response-output”).hasClass(“wpcf7-validation-errors”) ? “fail” : “success”; if(result==’fail’){ // error popup code }else if(result==’success’){ // success popup code } }); }); Advertisements

Remove index.php file in codeigniter OR wordpress on windows server

Remove index.php file in Codeigniter or wordpress or other freamwork  on Windows IIS7 Server Sometime .htaccess file does not work on windows server, so we have use web.config file insted of .htaccess in root path   <?xml version=”1.0″ encoding=”UTF-8″?> <configuration> <system.webServer> <rewrite> <rules> <rule name=”codeigniter” patternSyntax=”Wildcard”> <match url=”*”/> <conditions> <add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true”/> <add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true”/> </conditions>…