This might be a ridiculous question on my part, but do you mean just have the player jump once and then they aren't allowed to for the rest of the level?
If you meant not allowing the player to jump, then again in mid-air, then Awesomeggs has the answers. :)