I have this html code with external function call and local variables:
document.getElementById("data").innerHTML='<a href="#" onClick="cordova.exec("ChildBrowserCommand.showWebPage", "'+vivijesolo+'");"><img src="'+vivifoto+'" on;></a>';
The problem is that, it see's the variables and everthing is fine but the function cordova.exec can't be executable.
Why?? :(