AFAIK yes, since JavaScript always operates on the browser-internal document tree and not on the source code.
1 Like
Perhaps @ljakab001 could try both solutions and let us know the results?
Essentially it depends on the circumstances and requirements. The more versatile it shall be, the more complex it gets in either case.
1 Like
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.