The '#' would make it reload the current page inside the iframe or something weird. Tried to work around it, but decided this was the easiest fix for now.master
</script> | </script> | ||||
</head> | </head> | ||||
<body> | <body> | ||||
<a id="clickText" href="#" onclick="callCPPCode()">Click to call C++ code</a> | |||||
<a id="clickText" href="javascript:void(0)" onclick="callCPPCode()">Click to call C++ code</a> | |||||
</body> | </body> | ||||
</html>`.trim(); | </html>`.trim(); | ||||