Hi !Could you please help me that how can I call a javascript function from my scala code file.I have used the below alternatives but none of them worked out.I don’t see any compilation error but not working…stillWhere ShowConfirmations is the function name and Amit is the parameter name…1) JsCmds.Run("ShowConfirmation('Amit')JsCmds.Run("provajavascript('ShowConfirmation');")2)import net.liftweb.http.js.JE.JsRawJsRaw("ShowConfirmation()").cmd3)Call("ShowConfirmation ")4) JsRaw("ShowConfirmation(Amit)"). cmdJsFunc("ShowConfirmation", "Amit").cmdScript(Run(JsFunc("ShowConfirmation","amit")).toJsCmd)Please reply me asap as I am really stuck up just because of this.Hoping for a fast response as I have heard about you people.
Hi !Could you please help me that how can I call a javascript function from my scala code file.I have used the below alternatives but none of them worked out.I don’t see any compilation error but not working…stillWhere ShowConfirmations is the function name and Amit is the parameter name…1) JsCmds.Run("ShowConfirmation('Amit')JsCmds.Run("provajavascript('ShowConfirmation');")2)import net.liftweb.http.js.JE.JsRawJsRaw("ShowConfirmation()").cmd3)Call("ShowConfirmation ")4) JsRaw("ShowConfirmation(Amit)"). cmdJsFunc("ShowConfirmation", "Amit").cmdScript(Run(JsFunc("ShowConfirmation","amit")).toJsCmd)Please reply me asap as I am really stuck up just because of this.Hoping for a fast response as I have heard about you people.
ThanksAmit Tyagi--
--
Lift, the simply functional web framework: http://liftweb.net
Code: http://github.com/lift
Discussion: http://groups.google.com/group/liftweb
Stuck? Help us help you: https://www.assembla.com/wiki/show/liftweb/Posting_example_code