tablename_dv hook vs. tablename-dv.js
Posted: 2021-03-26 18:48
Hi All,
General question, are there rules of thumb about when to use the _dv hook and when to use magic .js files when implementing jquery code?
I have used them for the most part interchangeably. A notable exception is when I need data from the hook that isn't easily acquired in the magic file. There are likely more cases like that, and some where it's easier in the .js file. I'm just looking for some ideas for how to decide.
One thought I have is order of operation - which executes first and which takes precedence if there are conflicting statements?
Thanks.
~Paul
General question, are there rules of thumb about when to use the _dv hook and when to use magic .js files when implementing jquery code?
I have used them for the most part interchangeably. A notable exception is when I need data from the hook that isn't easily acquired in the magic file. There are likely more cases like that, and some where it's easier in the .js file. I'm just looking for some ideas for how to decide.
One thought I have is order of operation - which executes first and which takes precedence if there are conflicting statements?
Thanks.
~Paul