Use JavaScript to refresh post module

I would like to be able to refesh the posts in the posts module via JavaScript. I can’t find any documentation or an interface to do it.

The use case is this, I have a form on a page that is creating a custom post type. When it is added I would like the post module to refresh and show that new post in the list.

Thanks in advance.

am I better off raise a support ticket for this?

You cant just refresh a part of the page like that, you code just needs to force a page refresh.

So how does the infinite scroll work then? Surely that is calling something?

I might have a play with turbo links to see if I can fake it. Shame that bb doesn’t have a js interface for controlling modules like this. I’d even pay more for it on top of the agency and themer I have now.