1. Bennett & Johnson, LLP Oakland Personal Injury Attorney | Bennett & Johnson, LLP After an injury, the importance of a good lawyer is key, so speak with our Oakland personal injury attorneys at Bennett & Johnson, LLP today in a free review.
2. Melissa A. Proudian, Attorney At Law Fresno and Oakland Social Security and SSI Disability Attorney | Clovis California Estate Planning L Social Security Disability Income (SSDI) issue in Fresno and Oakland, or nearby? Contact Melissa A. Proudian, Attorney At Law, for a free initial consultation at 559-554-1455.
827 BroadwaySuite 205 - The Wilcox Building Oakland, CA94607
3. Hanson O'Toole, LLP Experienced Pleasant Hill / East Bay elder law and nursing home Medi-Cal and asset protection planning firm focuses on protecting assets from nursing home costs, minimizing Medi-Cal spend-down requirements, protecting assets from Medi-Cal estate claims, also designing and updating estate plans that enable spouses and families to avoid excessive nursing home expenses and Medi-Cal estate claims in the event of a nursing home confinement.
3478 Buskirk AvenueSuite 265 Pleasant Hill, CA94523
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 === 'Elder Law') {
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);
}
});