如何使用jQuery更改全局變量並將其傳遞給函數的參數? [英]How to change global variables and pass them to a function's parameters with jQuery?
除了全局變量之外,是否有更好的解決方案可以跨多個函數操作一個值? [英]Is there a better solution for manipulating one value across multiple functions other than global variables?