Skip to main content
Participant
October 16, 2019
Question

JavaScript blocked by browser?

  • October 16, 2019
  • 2 replies
  • 176 views

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 has been closed for replies.

    2 replies

    Inspiring
    October 16, 2019

    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.

    Lilybiri
    Legend
    October 16, 2019

    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?