Skip to content

Instantly share code, notes, and snippets.

@fmpwizard
Created January 28, 2012 05:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fmpwizard/1692799 to your computer and use it in GitHub Desktop.
Save fmpwizard/1692799 to your computer and use it in GitHub Desktop.
def finalScreen ={
"#name *" #> NameVar.is &
"#lastname *" #> LastNameVar.is &
"#age *" #> AgeVar.is &
"@finish [onclick]" #> SHtml.ajaxInvoke (() => {
info("Data confirmed!")
JsCmds.Alert("We saved your \nName: %s\nLast name: %s\nAge: %s".format(NameVar.is, LastNameVar.is, AgeVar.is)) &
JsCmds.JsHideId("finish")
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment