1. Law Offices of Magnuson Lowell P.S. Bellevue Family Law Attorney | Redmond Criminal Defense Lawyer | Woodinville Divorce Attorneys Contact a Bellevue family law, personal injury and criminal defense lawyer from Magnuson Lowell, P.S. Call 425-242-4021 to schedule a free consultation.
2. Quiroga Law Office, PLLC Spokane Bankruptcy Attorney | Lawyer (509) 560-7050 A Spokane bankruptcy attorney can help you, but only if you qualify for relief under the bankruptcy code. Most debt can be completely erased with the filing of the proper paperwork to the Federal...
505 North Argonne RoadSuite B-109 Spokane Valley, WA99212-2870
3. Kuffel, Hultgrenn, Klashke, Shea & Ellerd, LLP Pasco WA Lawyer | Personal Injury, Family Law, Business Law Contact the Pasco attorneys at Kuffel, Hultgrenn, Klashke, Shea & Ellerd, LLP, about your legal issue. Call 509-492-3032 to schedule a consultation.
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 === 'Business Organizations') {
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);
}
});