steveosoule
11/14/2012 - 6:25 PM

JavaScript Secure/Non-Secure Check

JavaScript Secure/Non-Secure Check

if (location.protocol === 'https:') { 
	var url="https://www.gidabavari.com/mm5/form/prod-form-process.php"  
} else { 
	var url="http://www.gidabavari.com/mm5/form/prod-form-process.php" 
};