Skip to main content
OBattenDev87
Participant
April 12, 2016
Question

How can I use JS to make a button click open another module?

  • April 12, 2016
  • 1 reply
  • 267 views

I'm trying to use the current JS Interface to open another module/project from a button action. It has to do this when interacting with SCORM. I don't think I cant open files with this JS Interface.

    This topic has been closed for replies.

    1 reply

    Lilybiri
    Legend
    April 12, 2016

    I there any particular reason why you do not want to use the command Open File or Open Project?

    OBattenDev87
    Participant
    April 12, 2016

    Are you talking about within the actions pane? I did that and it gave me an error message saying I can't do that. They're in the same parent folder, too. I'm also trying to write an IF Statement to have a button open another module/project and set a global variable via JavaScript but I'm stumped on that.

    Lilybiri
    Legend
    April 13, 2016

    Can you post that error message?