Call a Javascript function from server side

Answered
0
0

I need to call a javascript function which is included in separate  .js file and loaded in Default.html from server side.
But the invocation does not work.

I can’t even get a simple alert box displayed by calling Application.Call(@”window.alert(‘Test’);”);
This results in an exception “Unknown function”…

Do you know what I’m missing here ?

 

  • You must to post comments
Best Answer
0
0

Hi Tobias,

Application.Call takes 2 parameters, so your call should be

Application.Call("window.alert", "test");

Best regards
Frank

  • You must to post comments
0
0

Thanks Frank. That did it !

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.