This topic is locked

Custom Javascript Library -

12/11/2017 12:16:12 PM
PHPRunner General questions
T
thamestrader author

I have created a CustomPHP library that gets included at initialisation time, this avoids having duplicated code in my events and generally keeps the event code short. A nice by product is the ability to make quick test it PHP code changes to the copy in the Output folder without rebuilding the project, just have to remember to replicate the changes to the Source master version........
As the JSOnload code for Add and Edit pages is very similar if not identical I'd like to avoid duplication. Is it possible to do something similar with the JavaScript that is used in the JSOnload event? I can't find anything on the forum related to a custom JS library.