NEW YORK - Rocker Jon Bon Jovi donned a New York Police Department T-shirt on stage. Well-wishers delivered home-baked cookies by the hundreds to police in Cincinnati. In Mooresville, N.C., police and sheriff's officers were treated by residents to a chili dinner.

At a time when many in the nation's police community feel embattled, Americans in cities and towns across the country are making an effort to express support and gratitude.

"I'm showing a little solidarity for my brothers in the NYPD and all of those who protect and serve us every day," Bon Jovi told a cheering crowd at his concert Monday in Red Bank, N.J.

The surge of support is linked to two distinct but overlapping developments.

The immediate catalyst was the killing of two New York City police officers as they sat in their patrol car in Brooklyn on Saturday. For many of those making appreciative gestures, there also was a desire to counter the widespread protests - steeped with criticism of police - that followed grand jury decisions not to charge white officers for their roles in the deaths of black men Michael Brown in Ferguson, Mo., and Eric Garner in New York.

Becky Grizovic, of Walton, Ky., helps orchestrate a campaign called Cookies for a Cop that provides treats to officers in more than 200 departments in 23 states. She was joined by her husband, son, and a neighbor in delivering cookies to Cincinnati police stations on Monday.

At the District 2 station house, Capt. Jeffrey Butler said the gesture was especially appreciated in light of the deaths of the two officers in New York.

"The reason that this started is that I've just been so disheartened by the news," Grizovic said in a phone interview. "I wanted to do something positive to lift their spirits because this is so hard on all of them."

Rallies and vigils in support of police have taken place recently in several locations, including Nashville, Tenn.; West Orange, N.J.; Annapolis, Md., and New York City's Riverdale neighborhood.

Among those gathering Monday night in Nashville was Merri Puckett, a retired police officer.

"The police are really taking a hard hit right now," she told the Tennessean newspaper. "Ninety-nine percent of the officers out there are doing a good job, and it's a thankless job and they need to know that the public supports them."

In Minden, Nev., there was a one-man rally in support of local officers.

John Munk, a retired sheriff's deputy, stood in front of the post office with a sign reading, "God Bless Law Enforcement."

"It's disheartening how people are treating law enforcement across the country," Munk told the Record-Courier of nearby Gardnerville. "I wanted to do this to show what a great community we have here."

In New York's bustling Times Square, several officers reported that people on the street were shouting out words of encouragement - a sound they weren't hearing before the weekend killings.