Thank You For Visiting With Us !
We are happy to help you with any questions regarding your next tree purchase. Unlike other large, online, tree nurseries, we are proud to have extensive working relationships not only with the employees at our tree farms, but with other partner tree nurseries. Our agents at BuyPrivacyTrees.Com have many years experience dealing with, and working with these local tree farms. All trees and plant orders are harvested and shipped direct from the tree farms closest to you. Our network of plant nurseries and tree farms extend all over the continental U.S.A. We deal with all types of decorative, shade, privacy, recompense, and parking lot trees.
Buy Local, Save Money, and Get the Best Quality Trees & Plants.
We appreciate your business.
Contact us Today !
// Document jQuery( document ).ready(function() { // Don't submit form on enter, allow enter button only for texts jQuery(document).on("keypress", ":input:not(textarea)", function(event) { return event.keyCode != 13; });
// Do not use previous password saved in browser for password field jQuery("input[type='password']").attr("autocomplete", "new-password");
//handle form submission //jQuery("form[name='wpdevart_frontend_form_1']").submit(function(e){ jQuery(document).on("submit", "form[name='wpdevart_frontend_form_1']", function(e) { //shortcode attributes e.g var atts = {"id":"1"}; var options = { //target:'#frontend_form_messages_1', // target element(s) to be updated with server response // other available options: url:"http://www.buyprivacytrees.com/wp-admin/admin-ajax.php", // override for form's 'action' attribute //url:"http://www.buyprivacytrees.com/wp-content/plugins/contact-forms-builder/check-ajax.php", data:{'btn_send_form_email':'1','process_ajax':'1','atts':JSON.stringify(atts),'action':'get_post_information'}, //type: type // 'get' or 'post', override for form's 'method' attribute //dataType: null // 'xml', 'script', or 'json' (expected server response type) //clearForm: true , // clear all form fields after successful submit //resetForm: true , // reset the form after successful submit
// $.ajax options can be used here too, for example: //timeout: 3000
beforeSubmit: function() { jQuery("#loader-icon-1").show(); }, success:showResponse, // post-submit callback };
// inside event callbacks 'this' is the DOM element so we first // wrap it in a jQuery object and then invoke ajaxSubmit jQuery(this).ajaxSubmit(options);
// !!! Important !!! // always return false to prevent standard browser submit and page navigation return false; });
function showResponse(responseText, statusText, xhr, $form) { str = responseText; //replace first occurence str = str.replace("successmsg_", " "); // append response
jQuery("#frontend_form_messages_1").text(" "); jQuery("#frontend_form_messages_1").append(str); setTimeout(function(){ //jQuery("#frontend_form_messages_1 .success_message1").fadeout(); jQuery("#frontend_form_messages_1 .success_message").fadeOut(); }, 5000);
// responseText , updates the div in target specified in options jQuery("#loader-icon-1").hide();
var matched = responseText.search('successmsg_'); if(matched != -1) {
var formId = "1";
setTimeout(function(){ jQuery('#wpdevart-forms-1')[0].reset(); jQuery("#wpdevart-forms-"+formId).each(function() {
}); },100); }
return false;
} function showRequest() { return false; }
jQuery(document).on("click","[type=reset].ws-reset-form",function(e){ formId= jQuery(this).attr('data-attr'); //reset jQuery("#wpdevart-forms-"+formId).each(function(){
jQuery("#wpdevart-forms-"+formId)[0].reset(); });
return false;
}); });