• Resolved cncdev

    (@cncdev)


    I am getting the following JavaScript error:

    Uncaught TypeError: Cannot read property 'indexOf' of undefined

    this is happening on

    if(amount.indexOf('-') != -1){
        amount = amount.split('-');
        amount = amount[1].trim();
    }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cncdev

    (@cncdev)

    This was user error, I was trying to put values directly into the button instead of tag names for other inputs.

    @cncdev I’m having this issue but can’t figure out what you did exactly to fix it, can you please elaborate and maybe provide a screenshot?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘indexOf error’ is closed to new replies.