Thanks Airblader I changed the parameter to num still not working and i have know Idea how to use "console" but will google and look into that
Thanks Old Pedant , that was also a piece of code I found googling, I actually do want to allow for decimals even though the function says "validInt" but thanks for explaing the other problems, once i figure out the problem with the question in my original post I will move onto that
Figured out how to get debugger in IE and there is an error
SCRIPT438: Object doesn't support property or method 'reduce'
Last edited by billboy; 02-03-2013 at 06:35 AM..