I am newbie
to Play Framework with Scala
environment.I would like to invoke Controller
Action
method from @select()
~dropdown OnChange
.
How I invoke from Button
<a href="@routes.Application.cancel()"><span>Cancel</span></a>
What I actually need
I need to invoke my Action
from drop down OnChange
method.please help me to accomplish this task.
Edit
@select(
userMapForm("department"),
DepartmentList,//set values from DB
'_default -> "-- Select Department --",
'onChange->"//invoke Action from here"
)