1. Law Offices of David A. Lourie Portland Municipal Attorney | Cumberland County Land Use Lawyer | York County ME Boundary Dispute At Prepared to fight for successful legal resolution with affordable services. Call the Law Offices of David A. Lourie in Portland, Maine, at 207-799-4922.
2. Law Offices of David A. Lourie Portland Municipal Attorney | Cumberland County Land Use Lawyer | York County ME Boundary Dispute At Prepared to fight for successful legal resolution with affordable services. Call the Law Offices of David A. Lourie in Portland, Maine, at 207-799-4922.
3. Ballou & Bedell York Maine Lawyers, Law Firm, Attorneys, Law Office in York Maine High quality, reasonably priced Maine legal services, representing, Southern York County Maine: York, York Beach, Kittery, Wells, Ogunquit, Eliot, South Berwick, Berwick, North Berwick, Kennebunk, Kennebunkport, Sanford, Biddeford
4. Bourque & Clegg Bourque & Clegg, LLC Bourque & Clegg, LLC offers full legal services including divorce, personal injury, bankruptcy, real estate and other areas. Located in Sanford, ME.
5. Ranger & Copeland PA Family Law, Divorce Attorney, Wills & Trusts, Estate: Brunswick, ME: Ranger & Copeland Ranger & Copland can handle all of your legal needs in Brunswick including Family Law, Divorce, Wills & Trusts, Estate Planning & more. Call today.
Enhance your legal case details with LawyerLand AI's
intelligent guidance, connect with numerous qualified law firms in your area, and find the ideal
legal representation through our competitive chat platform.
;
document.addEventListener('DOMContentLoaded', function () {
// Reference to the form elements
const categorySelect = document.getElementById('category');
const subcategorySelect = document.getElementById('subcategory');
if (categorySelect && subcategorySelect) {
// Function to update subcategories based on selected category
function updateSubcategories() {
// Store current selection if any
const currentSelection = subcategorySelect.value;
// Clear existing options
subcategorySelect.innerHTML = '';
// Get selected category
const selectedCategory = categorySelect.value;
// If no category selected, hide subcategory dropdown
if (!selectedCategory) {
subcategorySelect.disabled = true;
return;
}
// Enable the dropdown
subcategorySelect.disabled = false;
// If we have subcategories for this category, add them
if (subcategories[selectedCategory]) {
subcategories[selectedCategory].forEach(function (subcat) {
const option = document.createElement('option');
option.value = subcat;
option.textContent = subcat;
// Set selected if matches current selection or matches the subcategory variable
if (subcat === currentSelection ||
subcat === 'Land Use & Zoning') {
option.selected = true;
}
subcategorySelect.appendChild(option);
});
}
}
// Attach event listener to category dropdown
categorySelect.addEventListener('change', updateSubcategories);
// Initialize subcategories on page load
updateSubcategories();
// If category is pre-set, make sure subcategories get populated
setTimeout(function () {
updateSubcategories();
}, 100);
}
});