Skip to main content
Participant
Oct 16, 2019 2:50 PM UTC
Question

JavaScript blocked by browser?

I used a JavaScript to limit the number of decimal places shown after a calculation. When viewed in Capitvate preview, it works without flaw. However, when viewed in a browser or HTML 5 preview, the script doesn't operate.

 

Anyone know why?

 

Thanks,

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Inspiring
    Oct 16, 2019 6:24 PM UTC

    Which browser are you using? What are your browser settings like? Any restrictions on running Javascript? Usually there would be an alert box if something is being blocked, but you can use the inspector to see as well.

    Translate
    Lilybiri
    Legend
    Oct 16, 2019 3:52 PM UTC

    If this is a non-responsive project the only Preview which will use HTML5 is F11, Preview HTML in Browser. If it is not working in that preview, something is wrong wity the script.  Formatting numbers is one of the situations where I also use JS. Can you post the action you triggered?

    Translate