1. Pratt, Jensen & Grisham, LLC Springfield Family Lawyer | Nixa Divorce Attorney | Ozark MO Child Support Contact the Springfield, Missouri, family law firm of Pratt, Jensen & Grisham LLC at 417-413-2939 for exceptional divorce, custody, support and adoption representation.
3432 S. Culpepper Court, Suite A Springfield, MO65804-3833
3. The Law Office of Doug Fredrick, LLC The Law Office of Doug Fredrick, LLC, Springfield, Missouri The Law Office of Doug Fredrick, LLC in Springfield, Missouri practices family law, military law, business transactions and litigation, real estate transactions
1200 East WoodhurstSuite N-100 Springfield, MO65804-3759
4. Law Office of Grant D. Johnson, LLC Springfield MO Real Estate Attorney | Construction Law | Estate Planning The Law Office of Grant D. Johnson, LLC, represents individuals and businesses throughout Missouri in a variety of real estate and business law matters. Call 417-501-0280.
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 === 'Litigation') {
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);
}
});