The area was cordoned off and escape routes blocked to apprehend the fleeing militants, while a large-scale search and clearance operation was underway.
Hundreds of students fled, some by scrambling over perimeter walls and onto the streets, others by barricading themselves inside rooms until they were rescued by Afghan special forces.
Two CRPF men and a police officer were killed in a militant attack on a joint party of police and CRPF men at Kreeri located in Baramulla.
After the attack, police, CRPF and Army men rushed to the area and laid siege around the area to conduct a search operation to nab the attackers.
A BJP leader said three party workers, including two panchayat members and a sarpanch from Kulgam district of south Kashmir, have resigned from the party.
The injured were taken to a hospital where both of them succumbed, the official said.
There was no damage due to the controlled explosion of the IED, the police official added.
As the security personnel launched a search operation in the village, they came under heavy fire from militants hiding in the area.
The militants opened fire on a police party at Warpora in Sopore area this evening, resulting in injuries to SPOs Wajahat Ahmad and Showkat Khandey and a civilian, the officials said.
The front page also carried the message that the paper would not be cowed down.
Police have confirmed that firing exchanges between the militants and the security forces have stopped in Hajin area in Bandipora district where militants had attacked a camp of Rashtriya Rifles.
There have been at least six grenade attacks in Kashmir valley, including one at the residence of ruling PDP MLA Mushtaq Shah, since yesterday.
Four people, including NCP candidate Jonathone Sangma, were killed while three others injured in an IED blast in poll-bound Meghalaya.
A spokesman of the CRPF in Srinagar said that two militants, armed with AK-47 rifles and carrying bags attempted to barge into the 23rd battalion CRPF camp at Karan Nagar early this morning.