cmury Posted January 20, 2003 Posted January 20, 2003 All Can you use replacement tags in javascripts? I've have a simple pop-up menu generated in js. The menu contains a number of links that refer to dbs using simple search and sort critera. I now want to refine these links by integrating user data from a cookie. I have tried inserting the cookie replacement tag in to the link but find that the tag is not rendered. Consequently no records are found! Any help would be great :-) Chris
Garry Claridge Posted January 20, 2003 Posted January 20, 2003 You can certainly use Javascript with CDML. A couple of things to watch: - Do not use html comments with your Javascript as this will prevent the tags from rendering. - Be careful with the order in which everything is processed; i.e. CDML first by WebCompanion then Javascript by the browser. Show some of your code here. We may be able to help. Good Luck. Garry
cmury Posted January 27, 2003 Author Posted January 27, 2003 Thanks Gary - much appreciated. The menus are now working fine!
Recommended Posts
This topic is 8132 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now