Use same script for multiple pages

Use same script for multiple pages

Hi Zoho!

I have several pages in my system that use nearly the exact same script (2 different variables)
How can I make the script to auto-update in all of them when I update the template?

Maybe create some function that has the complete script inside and just get the two changing variables?

Will really appreciate any suggestion on this one


Thanks!

Ravid