How to trigger the new widget using JQuery


When loading content via ajax the widget doesn’t trigger, I found a solution to this for the old widget using $.getScript but so far can’t find a solution for the new widget. Does anyone have any ideas or a solution?

Many thanks



OK, so I’m a fool… I was over thinking it :-/ All it needs is the following: