Best way to run JS code
Posted: Fri May 25, 2018 2:34 pm
Hi,
I'm using the code below whenever i need to run JS code in a page :
However recently i found out that i could use the ExecuteJavaScript method. Is there any difference ? What would be recommended ?
Thanks
I'm using the code below whenever i need to run JS code in a page :
Code: Select all
var code := 'var j = 10';
chromium1.loadurl('javascript:'+code);
Thanks