Discussions
Any handy shortcuts for working with iMIS Javascript?
over 2 years ago by Lee
Hi,
My case is manipulating various iMIS pages to align closer to our business processes. For example it may involve changing label names on options, or getting/manipulating the data in a query menu.
However, some iMIS pages are dynamic and have partial refreshes, so doing such DOM manipulations on content load is lost after a dynamic change.
For example: Query Menu when you click the find button, and on checkout when you change payment method.
One method (which I use on checkout page) is to use MutationObserver which is pretty neat, however it takes a bit to setup and apply.
Are there any JS events/hooks that would be helpful when interacting with dynamic iMIS pages?
Thanks.