I needed a button that "goes back", so I created an ajaxButton with
code like:
SHtml.ajaxButton("Cancel", () => JsCmds.jsExpToJsCmd(JsRaw
("history.back();")))
So, is this the "best" version? Or can this be simplified?
(I didn't feel well acquainted to leveraging Javascript from reading
the Exploring Lift book. Maybe there needs to be a few more
examples?)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to
liftweb@...
To unsubscribe from this group, send email to
liftweb+unsubscribe@...
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en-~----------~----~----~----~------~----~------~--~---