1. Bemis, Roach & Reed Austin Texas Social Security and Long Term Disability Attorneys Texas Social Security disability lawyers Bemis, Roach & Reed assist clients in Austin, Houston, Dallas, and San Antonio with SSDI and long term disability.
2. The Packard Law Firm San Antonio Injury, Disability, and Bankruptcy Attorneys | The Packard Law Firm An uncertain future can play havoc on your family. Come see how the Packard Firm and its family of attorneys can help you secure a brighter future for yours.
1100 Northwest Loop 410Ste. 104 San Antonio, TX78213
3. Kantack Alcantara Law Office, P.C. South Texas Real Estate Attorney | Cameron County Business Law Lawyer | Brownsville Commercial Law F For help with real estate or business matters, call a South Padre Island real estate law attorney at Kantack Alcantara Law Office, P.C.: 866-306-6122.
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 === 'Disability') {
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);
}
});