If the game has no betting conditions, then the jackpot can be won simply by spinning the reels.
However, for those games that have minimum or side bets, the jackpot will only be up for grabs if you meet the betting requirements. Some jackpots can also only be won by triggering a bonus game within the slot.