• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XenForo Ajax replace content

Aayush

Well-known member
#1
I am using xenforo ajax and when I replace a content from template using
Code:
$('.element').html(newContent);
particularly when updating the list of usernames. When I click on the rich username generated using xenforo template, it redirects me to another page.
Is there a solution to fix this?

I am not sure of which xfInsert command to use to simulate similar experience when you replace normal html. I want no animations, just want to replace some content on the screen.