Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Adding onclick script to a link in a passage on Harlowe - getting syntax errors

Hi all,

I am trying to add the below to a link in a passage on Harlowe. I either want the script to execute when that passage loads or when they click on a specific tag. I'm having trouble because I keep getting syntax errors. Anyone know how to solve this?

Here is the one that I did onclick, it's on an a tag but I would prefer to do it on a link in Harlowe:

<a href="www.google.com" Onclick="javascript:xapistatement('experienced','http://google/linked','something about this','this a description that I won't see right in the LRS')" >Clicked</a>

Anyone have any ideas on how to do this?

Comments

Sign In or Register to comment.