This is in reference to this question:
cannot convert input text to int in JavaScript
RompePC managed to diagnose my problem in the comments at about the same time MaxZoom posted an answer. MaxZoom's answer didn't really address the actual problem I was having, and was quickly deleted (by MaxZoom). Then I commented that RompePC fixed my problem, and shortly after MaxZoom undeleted his answer and edited it to address the same problem RompePC pointed out.
It seems like, for the sake of Stack Overflow, I should mark MaxZoom's answer in case someone else has a similar issue, but it feels strange giving the credit to someone who submitted an answer a short while after I confirmed someone else solved the problem.
Should I mark MaxZoom's answer as correct?