Thread:Jens Ingels/@comment-24416108-20141128155015/@comment-3271569-20141201162156

So elite would be hp + (tier*4)*rank ??

if only that number change whe could include it with a if statement. Just to prevent the syntax be convert to an string so that an extra function could be required:

It was the the setrank that was the bug even if I noticed a console error on the script. Their was a error while you where using the healthCalcbéta function.

Jquery is a Libary that use Ajax to give onlive actions. All script that start with $ use jquery.

I feel your coding will give problems. Not to mention syntax errors. Why do you want to limit the action from forcing to fill in that first upgrade first? If you really want to limit it why you don't use a if function or a function to hide upgrade1 & upgrade2 if upgrade0 is null. Their is a jQuery function that can float it in nicely.