1. Keith Friley Baton Rouge Family Law Attorney | Divorce Lawyer East Baton Rouge Parish Divorce or other family law problem near Baton Rouge? Keith Friley, Attorney at Law, will put 30 years of experience to work for you. Call 800-622-5389.
2. Dowden & Smith Law Leesville Family Law Attorney | Divorce Lawyer | Vernon Parish, LA If you find yourself overwhelmed by an unexpected legal issue, the attorneys at Dowden & Smith, LLC, can help. Call us today at 337-404-6605.
3. The Law Office of Joshua S. Guillory, LLC Lafayette Criminal Defense Lawyer | New Iberia Personal Injury Attorney | Opelousas DUI For counsel from a dedicated Lafayette criminal defense and personal injury lawyer, call The Law Office of Joshua S. Guillory, LLC, now: 337-233-1303.
317 East University Avenue Lafayette, LA70503-2017
4. Lila Molaison Samuel Lila Molaison Samuel - Gretna Adoptions Attorneys | Louisiana Alimony, Child Custody Lawyers, Law Fi Gretna Adoptions Attorneys of Lila Molaison Samuel pursue cases of Adoptions, Alimony, and Child Custody in Gretna Louisiana.
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 === 'Military Divorce') {
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);
}
});