Update view from model

Hello all

How can one update an ajax div with a text message from a model class?

Is is possible?

I need to update feedback from a processing function in model to inform the user about the processing.


I suppose that you have to create a controller’s action (that you will call via ajax) that will call the model function and update the div.