KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.4.62
System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64
User : www ( 80)
PHP Version : 8.3.8
Disable Function : NONE
Directory :  /domains/folderwave/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /domains/folderwave/js/contact.js
//Set jQuery into no conflict mode
var $jq = jQuery.noConflict();

$jq(document).ready(function(){
	// in contact.html
	$jq("#main-contact-form").submit(function(){
		// 'this' refers to the current submitted form
		var str = $jq(this).serialize();
		$jq.ajax({
			type: "POST",
			url: "contact.php",
			data: str,
			success: function(msg){
				$jq("#note").ajaxComplete(function(event, request, settings){
					if(msg == 'OK'){ // Message Sent? Show the 'Thank You' message and hide the form
						result = '<div class="notification_ok">Your message has been sent. Thank you!</div>';
						$jq("#fields").hide();
					} else {
						result = msg;
					}
					$jq(this).html(result);
				});
			}
		});
		return false;
	});
	
	
});

Anon7 - 2021