1. Law Offices of Justin Kirk Tabayoyon Solano County Criminal Defense and Family Law Attorney | Bay Area Solano County practice areas include Criminal Defense, Family Law (Divorce / Child Custody), and Personal Injury.
2. Law Offices of Justin Kirk Tabayoyon Solano County Criminal Defense and Family Law Attorney | Bay Area Solano County practice areas include Criminal Defense, Family Law (Divorce / Child Custody), and Personal Injury.
1990 North California Blvd.8th Floor Walnut Creek, CA94596
3. Charles Dresow Charlie Dresow Free consultation. Call 415-453-9433 or 707-477-9717. If you have been charged with a crime, contact Bay Area criminal defense attorney Charles D. Dresow.
4. Weems Law Offices Fairfax Social Security Disability Lawyer | Marin County Weems Law Offices in Fairfax, California, handles Social Security Disability, drug violations and medical marijuana collective matters. Call 415-881-7653.
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 === 'Expungement') {
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);
}
});