OK this should be simple but I am scratching my head on it. I have a string value of an number within an html page(works fine). I then want to convert it to an integer so I can iterate through a fixed number of fields(totalSize var).
Code snippit below. I get this NaN value (putting totalSize inside of an alert())when doing parseInt. I want to be able to iterate through "totalSize". How do I do that once I have the correct string representation of my integer? Is there something I need to call on the Nan value to do it or?