16. Rush & Gransee, L.C. San Antonio Personal Injury & Criminal Defense Law Firm The personal injury and criminal defense lawyers of Rush & Gransee have served San Antonio and South Texas for 20 years. Free consultation at 210-807-8165.
17. The Rangel Law Firm, P.C. Corpus Christi Trial Lawyer | South Texas Litigation Attorney | San Antonio Oil Gas & Personal I The trial lawyers at The Rangel Law Firm, P.C. in Corpus Christi represent clients throughout South Texas and the Rio Grande Valley.
615 N. Upper BroadwaySuite 2020 Corpus Christi, TX78401
18. Law Offices of Fidel Rodriguez, Jr. San Antonio Personal Injury Attorney | South Texas Accident Lawyer Contact the Law Offices of Fidel Rodriguez, Jr., for experienced legal help with you or your loved one's injuries. Call 210-465-1212, 866-545-HURT (4878).
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 === 'Dangerous Products') {
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);
}
});