Jump to content

This topic is 8132 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.