1. Kathleen K. Reeves & Associates Alameda County Family Law Attorney | Divorce Lawyer Pleasanton Kathleen K. Reeves & Associates. Alameda County family law attorney with more than 30 years experience. Call 510-957-9658. Free consultations.
2. Law Office of Jennifer C. Phillips Home - Law Office of Jennifer C. Phillips Law Office of Jennifer C. Phillips, the law firm in Oakland, will provide you with expert advice in all legal questions and matters.
3. The Law Office of Matthew J. Rudy San Jose Divorce Lawyer Family Law Attorney San Jose San Jose Divorce Lawyer and Family Law Attorney, The Law office of Mathew J. Rudy strives to provide each client with efficient, effective and high quality legal services. The Law Office of Matthew J. Rudy specializes exclusively in family law representation with a particular focus on complex child custody issues and issues pertaining to the valuation and division of assets in complex, high net worth marital estates. Serving San Jose city and the great San Francisco Bay Area.
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 === 'Same Sex') {
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);
}
});