How to display data in Yii2 without refreshing the view?

I am using YII2. I wanna get data from the database and display it in a div without refreshing the view. I’m looking for a tutorial to do that. I know that’s it can be done by jquery or ajax. Any help plz

The next logical step would be to read jQuery ajax documentation. There you can find what you need, with code examples.