adverb, adverb taking the 'to' particle, noun or participle which takes 'suru'
struggling; flailing; wriggling
Describes physical, often desperate, movement of limbs or body, like kicking and thrashing about. Commonly used with する or と.
捕まった魚がじたばたと暴れている。
The caught fish is flailing around wildly.
子供が床に寝転んでじたばたしていた。
The child was lying on the floor, kicking and struggling.
noun or participle which takes 'suru', adverb, adverb taking the 'to' particle
panic; make a fuss; make a scene
Figurative use: to become agitated, lose composure, or react frantically to a situation. Often implies a loss of calm or overreaction.
試験の前日にじたばたしても遅い。
It's too late to panic the day before the exam.
彼は小さなミスでじたばたする癖がある。
He has a habit of making a fuss over small mistakes.