1. Higgins, Cavanagh & Cooney, LLP Higgins, Cavanagh & Cooney is one of Rhode Island's largest litigation firms, specializing in complex civil litigation cases.
The Hay Building123 Dyer Street Providence, RI02903
2. The Law Office of Mark B. Morse Providence Personal Injury Lawyers | Divorce Attorneys | The Law Office of Mark B. Morse Need help with a Divorce or a Personal Injury case? Call 401-831-0555 to talk to an experienced Providence personal injury & family law attorney at The Law Office of Mark B. Morse.
3. Bardorf & Bardorf Newport RI Attorneys | Business Law | Real Estate Liaw | Estate Plannng | Probate | Litigation We are Newport RI attorneys concentrating in Rhode Island business law, real estate law, estate planing, and litigation matters.
4. Moore, Virgadamo & Lynch, Ltd. Rhode Island Lawyers | Moore, Virgadamo & Lynch, Ltd.| Newport RI If you are looking for a general practice attorney in Newport, Rhode Island, we invite you to contact Moore, Virgadamo & Lynch, Ltd., at 401-846-0120.
Aquidneck Corporate Park97 John Clarke Road Middletown, RI02842-5641
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 === 'Franchising') {
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);
}
});