thanks... much appreciated... i am still having problems... i'll try to explain it... i am using jscript for a multi-category menu... in my jscript i am pulling the attributes where i am specifying links which are generated from a query.... whenever i use #variablename# in my javascript in simply reloads the page...
I assume that addMenuItem is a function that you created. The first argument is what the user sees on the menu and the second argument is the JavaScript code that you want to execute when the user slectes the menu item. Is that correct?
in your JavaScript, that the page is re-loaded at the moment that the above line executes? If so, try to find out why. JS is apparently executing it instead of interpreting it as a string.
If that's not what you're saying, please clarify. Exactly when does "it simply reload the page"?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.