1. The Law Offices of James E. Crawford, Jr. & Associates, LLC Baltimore Criminal Defense Lawyer | Federal Court Attorney MD Arrested or charged with a crime in Maryland? Call the criminal defense lawyers at the Law Offices of James E. Crawford, Jr. & Associates, LLC, at 443-701-4525 for a free consultation.
3. Alpert Schreyer, LLC Maryland Personal Injury Attorneys | Car Accident Lawyers Attorneys at Alpert Schreyer, LLC have many years of trial and litigation experience in personal injury law. By providing clients with top quality legal re
4. Alpert Schreyer Maryland Personal Injury Attorneys | Car Accident Lawyers Attorneys at Alpert Schreyer, LLC have many years of trial and litigation experience in personal injury law. By providing clients with top quality legal re
22776 Three Notch RoadSuite 201 Lexington Park, MD20653-3370
10. Ansa Assuncao LLP Philadelphia PA Business Lawyer | Tampa FL Business Litigation Attorney | New Jersey Class Action De Contact the national business litigation law firm of Ansa Assuncao LLP.
10400 Little Patuxent ParkwaySuite 300 Columbia , MD21044
11. McNamee, Hosea, Jernigan, Kim, Greenan & Lynch, P.A. Maryland Business Law Attorney | Commercial Real Estate Lawyer Annapolis | Washington DC Land Use La If you have business law or commercial real estate law concerns in Maryland, call McNamee, Hosea, Jernigan, Kim, Greenan & Lynch, P.A., at 301-441-2420.
12. The Law Offices of James E. Crawford, Jr. & Associates Baltimore Criminal Defense Lawyer | Federal Court Attorney MD Arrested or charged with a crime in Maryland? Call the criminal defense lawyers at the Law Offices of James E. Crawford, Jr. & Associates, LLC, at 443-701-4525 for a free 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 === 'Bad Faith Insurance') {
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);
}
});