indexOf error
-
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)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘indexOf error’ is closed to new replies.