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.

How to get value of javascript variable

Home Forums General Questions How to get value of javascript variable

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #85747
    novator83
    Customer

    Hi all.

    I don’t find solution on forums or under help on how to put together puzzles which gets value of variable (URLid) that was coded in exec script (see below)?

    `const urlParams = new URLSearchParams(window.parent.location.search);
    const URLid = urlParams.get(‘id’);

    #85891

    Hi,
    Sorry for the late reply, your post mistakenly got into the spam. To retrieve values from the “exec script” puzzle you simply create a variable in Puzzles and then assign it via the VARS object as follows:

    assign variable from the exec script puzzle

    Soft8Soft Tech Chief
    Want more Verge3D updates? Follow me on X, Facebook, or LinkedIn

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