I'm making a cascading 4 level dropdown. However, how do I nest inside an object? First 3 dropdowns are working perfectly. What I want to accomplish is, when user selects "Links" it will give another option.
var subjectObject = {
"Front-end": {
"HTML": ["Links": {"Test": ["test"]}, "Images", "Tables", "Lists"],
"CSS": ["Borders", "Margins", "Backgrounds", "Float"],
"JavaScript": ["Variables", "Operators", "Functions", "Conditions"]
},
"Back-end": {
"PHP": ["Variables", "Strings", "Arrays"],
"SQL": ["SELECT", "UPDATE", "DELETE"]
}
}