You’ll have to find another place to put the function, or make an Ajax call to that controller action when the page loads.
A suggestion: if it’s tied to the model you’re using, put the function in the model.
Jason
You’ll have to find another place to put the function, or make an Ajax call to that controller action when the page loads.
A suggestion: if it’s tied to the model you’re using, put the function in the model.
Jason