i want to use session and site properties in java script in out systems.
what is the way to access them in my code? below is my tried code. weeknumber is session variable which is having some default value. "alert(Session.weeknumber);" and am getting "Uncaught ReferenceError: Session is not defined" error.
In Outsystems you have an access to the session and site properties. I did not get your questions very well but I will give you an example and hopefully will clarify something for you on how to use it.
Let's say you have a page and you want to alert the user after the document is loaded.
1) Add an expression to the page.
2) Change the "Escape Content" property of the expression you added to "NO".
3) Add the following to the "value" property