Required
Our Blog

Walker & Walker Law Offices, PLLC

Walker & Walker Law Offices, PLLC N/a
Minneapolis
Walker and Walker Law Offices, PLLC 4356 Nicollet Ave
Minneapolis
MN 55409
Brooklyn Center
Walker and Walker Law Offices, PLLC 6160 Summit Dr N Suite 233
Brooklyn Center
MN 55430
St. Paul
Gus Anastopoulo Law Firm 1112 Rice Street
St. Paul
MN 55117
Blaine
Walker and Walker Law Offices, PLLC 607 County Hwy 10 #204
Blaine
MN 55434
Mankato
Walker and Walker Law Offices, PLLC 100 Warren St #300-119
Mankato
MN 56001
Rochester
Walker and Walker Law Offices, PLLC 4229 W Frontage Rd Ste 5B
Rochester
MN 55901
Duluth
Walker and Walker Law Offices, PLLC 4202 E Superior St Suite 102
Duluth
MN 55804
St. Cloud
Walker & Walker Law Offices, PLLC 14 7th Ave N Ste 122
St. Cloud
MN 56303
Fargo
Walker and Walker Law Offices, PLLC 4609 33rd Ave S Ste 108
Fargo
ND 58104
Get Started
document.addEventListener("DOMContentLoaded", function() { const closeBtn = document.querySelector("#m-close-search"); const searchInput = document.querySelector("#m-SiteSearchs-form input.search"); const searchBox = document.querySelector("#m-SiteSearchs-form"); if (closeBtn && searchInput) { closeBtn.addEventListener("click", function() { // Clear input field searchInput.value = ""; // Hide "Required" message if visible const reqError = searchBox.querySelector(".req-error"); if (reqError) { reqError.style.display = "none"; } // Optionally hide or collapse the search box (adjust to your animation) searchBox.classList.remove("open-search"); }); } }); jQuery(document).ready(function ($) { $(".search").on("input", function () { var value = $(this).val(); // Remove leading spaces value = value.replace(/^\s+/, ""); // Replace multiple consecutive spaces with a single space value = value.replace(/\s{2,}/g, " "); // Update the input field with the cleaned value $(this).val(value); }); }); jQuery(document).ready(function ($) { $("input[name='EmailAddress']").on("input", function () { // Remove all spaces this.value = this.value.replace(/\s+/g, ""); }); }); document.addEventListener("DOMContentLoaded", function() { const nameInputs = document.querySelectorAll('input[name="FirstName"], input[name="LastName"]'); nameInputs.forEach(function(input) { // Prevent pasting input.addEventListener('paste', function(e) { e.preventDefault(); }); // Allow only A–Z and a–z (no spaces) input.addEventListener('input', function() { this.value = this.value.replace(/[^A-Za-z]/g, ''); }); }); const currentUrl = window.location.pathname; // e.g. "/privacy-policy/" const links = document.querySelectorAll('.small-nav a'); links.forEach(link => { const linkPath = link.getAttribute('href'); // Check if current URL starts with the link path if (currentUrl.startsWith(linkPath)) { link.classList.add('active'); } }); // Get current page URL path (e.g. "/about/", "/" etc.) const currentPath = window.location.pathname; // Select all menu links inside any nav or list const menuLinks = document.querySelectorAll('li.menu-item a, .small-nav a'); menuLinks.forEach(link => { const linkPath = link.getAttribute('href'); // Normalize trailing slashes to match consistently const normalize = path => path.replace(/\/+$/, '') || '/'; if (normalize(currentPath) === normalize(linkPath)) { // Add active class to
  • and link.classList.add('active'); link.closest('li.menu-item')?.classList.add('active'); } }); const zipInput = document.querySelector('input[name="ZipCode"]'); if (!zipInput) return; // Allow only numbers and limit to 8 digits zipInput.addEventListener('input', function() { // Remove non-numeric characters and limit to 8 this.value = this.value.replace(/[^0-9]/g, '').slice(0, 8); }); // Block non-numeric key presses (extra safety) zipInput.addEventListener('keypress', function(e) { const charCode = e.charCode || e.keyCode; if (charCode < 48 || charCode > 57) { e.preventDefault(); } }); // Disable paste zipInput.addEventListener('paste', function(e) { e.preventDefault(); }); // Optional: disable drag-drop text into the field zipInput.addEventListener('drop', function(e) { e.preventDefault(); }); }); jQuery(document).ready(function ($) { $(".search-field").on("input", function () { var value = $(this).val(); // Remove leading spaces value = value.replace(/^\s+/, ""); // Replace multiple consecutive spaces with a single space value = value.replace(/\s{2,}/g, " "); // Update the input field with the cleaned value $(this).val(value); }); }); document.addEventListener('DOMContentLoaded', function () { // Config: change these values as needed const initialCount = 5; // how many items to show initially const perClick = 5; // how many to reveal each click const list = document.querySelector('.faq-listing-wrapper'); const loadBtn = document.querySelector('.load-more-btn'); if (!list || !loadBtn) return; const items = Array.from(list.querySelectorAll('.faq-list-item')); // Hide items beyond initialCount function init() { items.forEach((item, index) => { if (index < initialCount) { item.classList.remove('is-hidden'); item.setAttribute('aria-hidden', 'false'); } else { item.classList.add('is-hidden'); item.setAttribute('aria-hidden', 'true'); } }); updateButton(); } // Reveal next chunk of items function revealMore() { const hiddenItems = items.filter(i => i.classList.contains('is-hidden')); if (hiddenItems.length === 0) { updateButton(); return; } // Reveal up to perClick items for (let i = 0; i < perClick && hiddenItems[i]; i++) { const el = hiddenItems[i]; el.classList.remove('is-hidden'); el.setAttribute('aria-hidden', 'false'); } updateButton(); } // Update button label and state function updateButton() { const remaining = items.filter(i => i.classList.contains('is-hidden')).length; if (remaining === 0) { // No more items: hide or disable the button // Option A: hide // loadBtn.style.display = 'none'; // Option B: disable and change text (keeps layout) loadBtn.setAttribute('aria-disabled', 'true'); loadBtn.textContent = 'No more FAQs'; loadBtn.classList.add('disabled'); } else { loadBtn.removeAttribute('aria-disabled'); loadBtn.textContent = `Load More (${remaining})`; } } // Prevent double clicks while revealing loadBtn.addEventListener('click', function (e) { if (loadBtn.getAttribute('aria-disabled') === 'true') return; revealMore(); }); // Keyboard accessible: allow Enter/Space to trigger loadBtn.addEventListener('keydown', function(e){ if (e.key === 'Enter' || e.key === ' ') { e.preventDefault(); loadBtn.click(); } }); // initialize init(); // If faq items may be injected dynamically later, you can re-run init() or // call a small observer to watch for changes. For most WP themes this is enough. });