Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Found some code in one of my old CDML web files that I can't figure out. Was wondering if anyone would know what this is?

<a href="javascript:openReport('browser=Safari&browservernum=1&sid=SG636222&uid=63.xxx.xxx.145361&qid=Q6&name=&language=')">

Of course the part that is uid= is a IP address that I have swapped out xxx with. I am not sure what this type of javascript might do?

LR

Posted

This might already be obvious to you, but it's pointing to a JavaScript function called openReport() and supplying it with one long argument. In order to work out what it actually does, you need to refer to the function itself and check what the code does with its argument. It'll either be in the <head> section of the document, or in an included file listed in the head section. Without that it's impossible to know for sure ...

... at a guess though, I'd say that it's formatting a CDML query whose results open in a pop-up window. Things like -db=, -format= etc are probably assembled from variables in the function itself.

Cheers,

Kevin

This topic is 7341 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.