I'm trying to output this queried data inside a JavaScript. I've tried several ways, but I just get errors. Here is what I currently have.
<cfoutput query="Menu">
dhtmlMenu = new NavBarMenu(110, 0);
dhtmlMenu.addItem(new NavBarMenuItem("#MenuItemText#", "#MenuLinkPath#");
myNavBar1.addMenu(dhtmlMenu);
</cfoutput>
What am I doing wrong?
<cfoutput query="Menu">
dhtmlMenu = new NavBarMenu(110, 0);
dhtmlMenu.addItem(new NavBarMenuItem("#MenuItemText#", "#MenuLinkPath#");
myNavBar1.addMenu(dhtmlMenu);
</cfoutput>
What am I doing wrong?