Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80871

Manipulating DOM from 3rd party script

$
0
0

Hey,

I've ran into the following issue at a customer, hopefully someone can shed some light on this:

  1. Visitor visits site
  2. Mendix renders the page, builds the HTML
  3. After Mendix is done, a 3rd party script manipulates the DOM, replaces HTML
  4. Visitor navigates to other page, navigation no longer works. “Cannot read property '_destroyed' of undefined” is visible in browser console

 

I’m assuming the Mendix library is no longer able to find an object because the 3rd party script has removed it from the DOM.

I'm looking for a way to manipulate the DOM using the 3rd party script, without breaking the navigation. Preferably without changing the Mendix/site implementation.

Best,

Karel


Viewing all articles
Browse latest Browse all 80871

Trending Articles