If you're talking about American/British terms, then they are both one and the same. Americans call it jelly, we call it jam. If you're talking about the difference between the wobbly stuff and jam, then it's simply that jelly contains gelatine, and jam doesn't.