How do you exchange data between javascript and controller?

Hi guys,

I need to grab data from my controller using javascript but at same time I don’t want to echo tags at my code.

I was thinking on a way maybe by using jquery ajax or something? Anyone knows how I can do that?

You might start by searching this forum: Some of those seem relevant to your question.