1. Samuelson Law, P.C. Fort Collins Criminal Defense Attorney | Colorado DUI/DWAI Defense Lawyer | Adams County Domestic As Charged with a crime in Colorado? A Fort Collins criminal defense lawyer at Samuelson, P.C., can help. Free consultation. Call 877-283-7107.
2. McAdams Law Office, LLC Greeley Criminal Law Attorney | Colorado DUI Defense Lawyer | Fort Collins Felonies & Misdemeano The McAdams Law Office, LLC, Attorney at Law, is located in Greeley, Colorado, and serves people throughout northern Colorado: 970-573-7765.
3. The Law Office of Care Enichen, LLC Boulder Criminal Lawyer | Longmont CO Drunk Driving Charges, DUI Arrest Need family law or criminal defense representation? Contact an attorney at The Law Office of Care Enichen, LLC. Serving Boulder, Colorado, for over 25 years.
Mapleton Terrace 2033 11th Street Suite 6 Boulder, CO80302
4. Forrest W. Lewis, P.C. Denver Criminal Lawyer | Personal Injury Attorney Denver area criminal defense lawyer Forrest W. Lewis brings 40-plus years of experience to every case. He also handles other legal issues. Call 303-279-3333.
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 === 'White Collar Crimes') {
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);
}
});