1. Fred T. Crifasi Attorney at Law Baton Rouge Criminal Defense Lawyer | Fred T. Crifasi Attorney at Law | Gonzales Federal White Colla Criminal law issue in Baton Rouge, Louisiana, or nearby? Contact attorney Fred T. Crifasi to set up a free initial consultation at 225-334-8057.
8702 Jefferson HighwaySuite B Baton Rouge, LA70809
2. The Townsley Law Firm Lake Charles Personal Injury Lawyer | Car Accident Attorneys Calcasieu Parish The Lake Charles personal injury & car accident lawyers of Townsley Law Firm have served southwest Louisiana for 20 years. Free consultation at 337-377-0584.
3. Tellarico Law Firm Alexandria LA Personal Injury Attorney | Shreveport Car Accident Lawyer Tellarico Law Firm in Alexandria, Louisiana, represents injured persons throughout the state. If negligence caused your injury, call us at 318-787-0162.
3008 Jackson StreetP.O. Box 12967 Alexandria, LA71301
4. Hammond Law Firm, LLC Hammond Law Firm LLC Civil Litigation Attorney | New Orleans, LA | Hammond Law Firm, LLC Expert personal injury civil litigation attorney Peirce Hammond outlines the scope of the civil litigation and other legal representation available at Hammond Law Firm, LLC in New Orleans, LA. 855-586-3535
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 === 'Sexual Abuse') {
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);
}
});