1. Bowen Law Offices Las Vegas Estate Planning Attorney | Divorce and Personal Injury Law Call an attorney at Bowen Law Offices in Las Vegas, Nevada, at 702-240-5191 for a free consultation.
2. Anderson, McPharlin & Conners, LLP Anderson, McPharlin & Conners LLP | Los Angeles Litigation Defense Law Firm The California and Nevada defense attorneys at AM&C provide creative, efficient, and ethical solutions to resolve client issues through utilizing their experience and a teamwork approach designed to provide cost-effective results. The firm’s areas of practice are focused on defending businesses and insurance carriers in a number of legal practice areas
3. Keating Law Group PC Las Vegas Trial Attorney | Nevada Personal Injury Litigation Lawyer | Reno and Las Vegas Medical Mal Call 702-228-6800 today for a free initial consultation with a Las Vegas trial attorney from the Keating Law Group PC We offer litigation services in a variety of practice areas, such as Insurance, Commercial, Real Estate and many more.
9130 West Russell Road Suite 200 Las Vegas, NV89148
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);
}
});