About using javascript in Web Control

About using javascript in Web Control

BY 12 Apr 2013 Native Application Development

Hi all,

I faced with the following issue. In my app i use web control. I use javascript to change some fields in my web page.

(String jscript;

jscript = “document.getElementById(‘”;
jscript += id;
 
jscript += “‘).innerHTML=(‘”;
jscript += str;

jscript += “‘)”;)

It seems everything works fine if I use only one instance of web control. But if I use several web controls on different forms my app hangs on EvaluateJavascriptN call without any answer or crash. I tested on divice and emulator.  Is there anyone who faced with such problems? 

 

Regards,

Roman Lebedenko

RIA Novosti

Written by