Use GetCurrentLocale function in javascript

Use GetCurrentLocale function in javascript

  

Good afternoon,

How do I use the GetCurrentLocale function in javascript?

Image attached.


Thank you.

Solution

Hi Agno,

You can add an xy expression in you screen, set its value to

"
$(document).ready(function(){
refreshDate();
refreshLocale(" + GetCurrentLocale() + ");
});
"

and set the Escape Content to No.

Then remove the that part of the code from the code you had on the Javascript property of the Screen.

Cheers,

José

Solution