Scala Play - calling controller method from view

Monday, June 30, 2014

I display information, gather some user's input, and call a controller method using ajax/java script call from the view. However, instead of displaying a new/different html page, the controller method returns back to the original html page that I called jscript from.


Is this because of ajax call? How do I make sure that controller method would display the html file it's supposed to, instead of staying on old html page?







http://ift.tt/1pRM2eM