PDA

View Full Version : Chained Select Menu Stackoverflow on line:34



hax0r
04-03-2009, 10:01 PM
1) Script Title: Chained Select Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...menu/index.htm

3) Describe problem: I am getting a stack over flow at line: 34, when I remove the last 2(see last 2 below) then it works and I cannot see what is wrong with the last 2 below.

Any help is great.



addOption("Tile Work", "Select a Service", "", "", 1); //Empty starter option
addList("Tile Work", "Marble & Granite", "Marble & Granite", "Marble & Granite");
addList("Tile Work", "Tile - Exterior", "Tile - Exterior", "Tile - Exterior");
addList("Tile Work", "Tile - Interior", "Tile - Interior", "Tile - Interior");

addOption("Windows Installation", "Select a Service", "", "", 1); //Empty starter option
addList("Windows Installation", "Doors - Install", "Doors - Install", "Doors - Install");
addList("Windows Installation", "Skylights - Install", "Skylights - Install", "Skylights - Install");
addList("Windows Installation", "Sunrooms", "Sunrooms", "Sunrooms");
addList("Windows Installation", "Window Install - Major", "Window Install - Major", "Window Install - Major");
addList("Windows Installation", "Window Install - Minor", "Window Install - Minor", "Window Install - Minor");