Hoffi
Well-known member
I want to call a JavaScript Function, after the AJAX Request returns the HTML.
But, I want to hook into a default XenForo AJAX Request.
Example:
If you vote on a poll, you voze via AJAX and the JSON that returns contains HTML that is rendered into the DOM.
Is it possible to inject a JavaScript Function in the JSON that is called after the HTML is rendered?
But, I want to hook into a default XenForo AJAX Request.
Example:
If you vote on a poll, you voze via AJAX and the JSON that returns contains HTML that is rendered into the DOM.
Is it possible to inject a JavaScript Function in the JSON that is called after the HTML is rendered?