It depends how you do the collision, with physical response, it makes it stop colliding, and the increasing yvelocity makes it collide again. You can experiment by setting a textNumber to onground, and watch it flicking between 0 and 1. My method is to use a timer that is destroyed on collision with ground, and then created again. On the timer it knows you are off the ground. I have experimented with a few different times: with 50 ms, the timer runs out before the next collision, causeing the same flicking between 1 and 0. With 200 ms, it goes off a bit too late, and you can get a second jump in just after leaving the ground. With 100 ms, if you press really fast, you can jump again, but it is so close not to make much difference, and you can only tell if you make it play a sound.
You might also like to check out my post
http://game-editor.com/forum/viewtopic.php?t=1890
to find out how to alter the hight relative to the time you hold the jump key.