1. Smith & Parnell LLC Columbia MO Law Firm | Smith & Parnell LLC | Missouri Call 573-442-4646 to schedule a free consultation with the experienced Columbia personal injury lawyers at Smith & Parnell LLC. We are here to help.
2. Ritchie & Soper, P.C. St. Joseph Lawyer | Ritchie & Soper, P.C. Liberty MO | Liberty, Maryville Ritchie & Soper, P.C., focuses on family law and now includes a personal injury lawyer. Call our main office in St. Joseph, Missouri, at 816-396-8334.
3. Mary J. Browning LLC Family & Traffic Lawyer Jefferson City | Mary J. Browning, LLC In need of a family or traffic lawyer? If so, contact Mary J. Browning, LLC in Jefferson City, MO today!
4. Law Office of Jeffrey A. Robertson, P.C. Warrenton Criminal Law Lawyer | O'Fallon Defense Attorney | Washington Traffic Violation Lawyer Call 636-235-0836 to contact the Law Office of Jeffrey A. Robertson in Warrenton, Missouri.
603 E. Veterans Memorial Pkwy.Suite 250 Warrenton, MO63383
5. Stephen Ray Porter, Attorney at Law Hannibal Missouri Criminal Defense Attorney | MO Family Law Lawyer Northeast Missouri family law and criminal defense attorney with 20 years of trial experience. Call 573-629-1734 for a free initial 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 === 'Divorce Mediation') {
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);
}
});