In one attack , militants hurled a grenade at a security force patrol at a crowded market in Jammu but missed , wounding at least 18 people .