Products

LA-CO

Our high-quality, high-performance plumbing and HVAC chemicals are a trusted partner for professional contractors around the world

LA-CO

'); printWindow.document.write(''); printWindow.document.close(); // Define a function to close the window // Trigger the print dialog printWindow.print(); } function PrintWaranty() { var printWindow = window.open('', '', 'height=600, width=600'); var table_style = document.getElementById("table_style").innerHTML; printWindow.document.write('Warranty Registration Information'); //Print the Table CSS. printWindow.document.write(''); printWindow.document.write(''); //Print the DIV contents i.e. the HTML Table. printWindow.document.write(''); var divContents = document.getElementById("makepdfWarant").innerHTML; printWindow.document.write(divContents); printWindow.document.write(''); printWindow.document.write(''); printWindow.document.close(); // Define a function to close the window // Trigger the print dialog printWindow.print(); } var sharemodal = document.getElementById("mysharemodal"); var btn = document.getElementById("sharemodalBtn"); var span = document.getElementsByClassName("close")[0]; btn.onclick = function() { sharemodal.style.display = "block"; } span.onclick = function() { sharemodal.style.display = "none"; } window.onclick = function(event) { if (event.target == sharemodal) { sharemodal.style.display = "none"; } } jQuery(document).ready(function($) { var $inputField = $('.custom-contact-phone input'); var $postcodeField = $('.custom-postcode input'); var $errorMessage = $('#error-message'); // Attach a keypress event handler to the input field $inputField.on('keypress', function(e) { // Get the pressed key code var keyCode = e.which; // Check if the key is an alphabetic character if ((keyCode >= 65 && keyCode <= 90) || (keyCode >= 97 && keyCode <= 122)) { e.preventDefault(); $errorMessage.text('Please enter only numeric characters.'); } else { $errorMessage.text(''); } }); $postcodeField.on('keypress', function(e) { // Get the pressed key code var keyCode = e.which; // Check if the key is an alphabetic character if ((keyCode >= 65 && keyCode <= 90) || (keyCode >= 97 && keyCode <= 122)) { e.preventDefault(); $errorMessage.text('Please enter valid Post Code.'); } else { $errorMessage.text(''); } }); });

Bromic Plumbing & Gas