Equivalent Call R Function in JavaScript

Is there something similar in shinyjs to Set the Resource String in javascript
Instead of this:

<script type="text/javascript">
    var strLoadingText = "<%= Resources.myResourceFile.ajaxRetrievingInformation %>";
</script>

Do something like this that calls a function in an R file:

jsCode <- "shinyjs.ReturnVal=
function(){
  x =  "<%= Resources.myResourceFile.ajaxRetrievingInformation %>";
  alert(x);
}"

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.