Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : How to use functions from another controler

$
0
0
There are several ways to do so but a little more context would be helpful to give the best suggestion. One way, if you have a reference to the element where the controller is initialized on you could do something like this:

  1. $('element').controller(mycontroler1).functionToUse()

Viewing all articles
Browse latest Browse all 3491

Trending Articles