1. Frailey, Chaffin, Cordell, Perryman, Sterkel, McCalla & Brown Business Law Attorneys Oklahoma City | Insurance Law Lawyers Chickasha OK | Tulsa Probate Administra Free initial consultation with business law attorneys in Oklahoma City: Frailey, Chaffin, Cordell, Perryman & Sterkel, LLP: 405-224-0237.
201 North Fourth StreetP.O. Box 533 Chickasha, OK73023
2. AAA Disability Advocates P.C. VA Disability Lawyers | Service-Connected Disability | CRSC For experienced, results-driven legal representation in a veterans disability claim or appeal, call VA Disability Law Center, P.C., at 800-580-9335. Nationwide.
3. Hart Law Office, P.C. Tulsa OK Tax Law Attorney | Military Disability Benefits Lawyer Tulsa, Oklahoma Whether you have suffered a personal injury, become disabled, or want help with your taxes, contact the Hart Law Office, located in Tulsa, OK to schedule a consultation.
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);
}
});