RJS: how to generate different code? plugins?

Hi everyone :slight_smile:

If I wanted to make an RJS template generate something, how would I go about doing that? Like, right now you have page.insert_html, etc., but let's say I wanted to define my_page.insert_html, and I want it to generate different code. How would I do that?

Thanks! Sean

Nice!! Thank you so much!! :slight_smile:

Paul Johnson-18 wrote: