Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can Teleport handle Javascript or events such as the “onclick” event?

0
Posted

Can Teleport handle Javascript or events such as the “onclick” event?

0

Yes, as of version 1.29.1847, Teleport can handle simple script commands, such as window.open(…) and location.href=…, so long as the URL parameter is only a quoted string. Teleport will even handle such commands when they appear in events such as the onclick event. However, the program cannot handle more complex scripts, such as those that call functions defined by script, or those that open URLs that are created by calculating or concatenating strings. To enable script parsing, the option to process script and event code must be ON in the Project Properties, Exploration page. (This option is on by default.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123