2. Berger & Kindberg Law Charlotte NC Real Estate Attorney | North Carolina Business Lawyer | Divorce & Family Law Our attorneys in Charlotte, North Carolina, provide a wide range of legal services. Call Berger & Kindberg Law, at (704) 553-7614.
3. McCoy, Wiggins, Cleveland & O'Connor PLLC Fayetteville Business Law Attorney | Estate Planning Lawyer Mccoy Wiggins Cleveland & Mclean PLLC, represents individuals and businesses in a variety of practice areas from its North Carolina office. 910-764-6912.
4. Stewart Law, P.A. Charlotte Business Law Lawyer | South Park NC Estate Planning & Probate Lawyer | Business Format Contact Stewart Law, P.A., at 704-594-4207 to arrange a consultation with an experienced Charlotte business law lawyer.
South Park Towers6000 Fairview Road, Suite 1420 Charlotte, NC28210
5. Lassiter & Sperati, P.L.L.C. Rocky Mount NC Criminal Law Attorneys | North Carolina Criminal Defense Lawyer | Wilson NC Traffic V Talk with a lawyer about a business law, estate or other matter. Call Lassiter & Sperati, PLLC in Rocky Mount, NC at 252-557-4582.
120 North Franklin StreetSuite A P.O. Box 4307 Rocky Mount, NC27803
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 === 'Mergers & Acquisitions') {
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);
}
});