We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

provide id from external html is not working

Home Forums Puzzles provide id from external html is not working

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #48614
    deedox
    Participant

    Hi,
    I have some troubles reading the id’s from an external html file…
    The HTML is embedded trough puzzles with a set prop innerHTML to a div(top_menu_2) inside the index html.

    What I want is bassicaly to show the annotation when i click on the button with id=magazine_1 from the external html.

    Thanks in advance

    Attachments:
    You must be logged in to view attached files.
    #48617

    hi,

    I think you need to move the on event/click puzzle inside the load data puzzle. Otherwise it tries to initialize the button which does not exist yet.

    Chief 3D Verger | LinkedIn | Twitter

    #48618
    deedox
    Participant

    Thank you Yuri. Simple as that :)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.