1. Mills Law Firm, LLC New Haven Personal Injury Lawyers | CT Bicycle Accident Attorney Injured in New Haven due to someone else's negligence? The experienced attorneys at Mills Law Firm, LLC, can help you get justice. Call 866-603-7532.
3. Jacobs & Dow, LLC New Haven Personal Injury Attorneys | Criminal Defense Lawyers Need legal advice? Call 203-772-3100 for a free consultation with the lawyers at Jacobs & Dow, LLC, in New Haven, Connecticut.
5. Marasco & Nesselbush, LLP Rhode Island Personal Injury Lawyers The Rhode Island personal injury lawyers at Marasco & Nesselbush, LLP are committed to helping you receive fair compensation for your injury and SSD claims.
6. The Law Office of George H. Romania, LLC New Haven County Personal Injury Lawyer | Connecticut Workers Compensation Attorney | Hamden Car Acc Experienced personal injury and workers' comp lawyers. Call The Law Office of George H. Romania in Hamden at 888-350-3891. Free 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.
{"Accidents & Injuries":["Admiralty & Maritime","Asbestos-Mesothelioma","Aviation Accidents","Birth Injury","Brain Injury","Bus Accidents","Car Accident","Class Actions Plaintiff","Construction Accident","Cruise Ship Injury","Dangerous Products","Defamation","Dog Bites & Animal Bites","Drugs & Medical Devices","Insurance Defense","Medical Malpractice","Motorcycle Accident","Nursing Home Abuse","Pedestrian Accident","Personal Injury","Personal Injury Defense","Premises Liability","Railroad Worker Injury-FELA","Rollover Accident","Sexual Abuse","Slander","Slip and Fall Accident","Toxic Mold","Toxic Torts","Trucking Accident","Workers' Compensation","Wrongful Death"],"Bankruptcy & Debt":["Bankruptcy","Collections","Debtor-Creditor"],"Business Law":["Administrative Law","Admiralty & Maritime","Advertising Law","Agriculture Law","Antitrust Law","Aviation","Banking & Finance Law","Business & Commercial Law","Business Organizations","Collections","Communications & Media Law","Contracts","Employment Law-Employer","Energy","Franchising","Government Contracts","Immigration","Insurance","Insurance Defense","Intellectual Property","Mergers & Acquisitions","Oil & Gas","Personal Injury Defense","Securities Law","Tax Increment Financing","Tax Law","Transportation Law"],"Cars & Motor Vehicles":["Auto Dealer Fraud","Bad Faith Insurance","Car Accident","DUI-DWI","Lemon Law","Motor Vehicle Defects","Motorcycle Accident","Rollover Accident","Tire Defects","Traffic Ticket","Trucking Accident"],"Civil & Human Rights":["Civil Rights","Constitutional Law","Discrimination","Elder Law","Native Peoples","Sexual Harassment"],"Consumer Rights":["Auto Dealer Fraud","Bad Faith Insurance","Consumer Protection","Dangerous Products","Debtor-Creditor","Drugs & Medical Devices","Housing & Construction Defects","Identity Theft","Legal Malpractice","Lemon Law","Medical Malpractice","Professional Malpractice","Securities"],"Criminal Defense":["Criminal Law Federal","Domestic Violence","Drug Crime","DUI-DWI","Expungement","Sex Crime","Traffic Ticket","White Collar Crimes"],"Employee's Rights":["Civil Rights","Constitutional Law","Discrimination","ERISA","Labor Law","Railroad Worker Injury-FELA","Sexual Harassment","Wage & Hour","Whistleblower-Qui Tam","Workers' Compensation","Wrongful Termination"],"Estate Planning":["Elder Law","Estate Planning","Guardianship","Living Wills","Power of Attorney","Probate","Trusts","Wills"],"Family Law":["Adoption","Child Custody","Child Support","Collaborative Law","Divorce & Separation","Divorce Mediation","Family Law","Father's Rights","Military Divorce","Same Sex"],"Health Care":["Asbestos-Mesothelioma","Bad Faith Insurance","Disability","Elder Law","Government Agencies","Government Programs","Guardianship","Living Wills","Medical Malpractice","Nursing Home Abuse","Power of Attorney","Social Security","Social Security Disability"],"Intellectual Property":["Copyrights","Patents","Trademarks"],"Lawsuits & Disputes":["Alternative Dispute Resolution","Arbitration","Class Actions Plaintiff","Collaborative Law","Contracts","Litigation","Mediation"],"Real Estate":["Construction","Construction Defects","Eminent Domain","Foreclosure & Alternatives","Homeowners Association","Housing Defects","Land Use & Zoning","Landlord-Tenant","Neighbors"]};
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 === 'Construction Accident') {
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);
}
});