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

Re : How to return a value from Controller methods

$
0
0
The convention for jQuery plugin methods is to always return the element they've been called on. If you want the return value from a controller use this:
  1. $('#test').controller().returnValue()

Viewing all articles
Browse latest Browse all 3491

Trending Articles