I am trying to create a simple calculation script to result in how many boxes of tiles are required for certain square metre coverage.

You enter 2.5 square metres - click calculation and then you get you will need x amount of boxes with 7 tiles spare. All works perfectly in all browsers except Firefox I get the error in the firebug console "wallarea not defined" (I do not understand this) I am not a coder I am trying to...