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);
}"