Javascript ONCLICK trigger

Hello.

I'd appreciate any help on the following.

We've created a story and the last slide contains a button which, when clicked, we need it to update our HTML database that the story has been completed by the user.  Can anyone tell me how I add a window.parent.completed javascript bit of code to a button trigger on a slide?

Any help would be greatly appreciated.

3 Replies