So, if you try to add four numbers (added), you should notice that the third operator is missing. What did I do wrong in the ncalc.js?
So at first glance I saw a few issues with your code, they are as followed:
- Consider using jQuery to update your page -
document.getElementById('idHere').innerHTML = "newTextHere";is going to have some issues depending on when it’s ran - jQuery with document ready is helpful.