Can someone post an example of a very simple way to use JQuery UI to
open a dialog. I found this code online but it's not well documented
and I can't get it to work. I'm assuming that the scala code was in a
snippet and that the HTML was in a web page. I've also tried
implemententing as a View but no luck.
import net.liftweb.http.js.JE
import net.liftweb.http.js.jquery.JqJE
def openDialog:String = {
(JqJE.JqId(JE.Str("dialogpopup")) ~>
JE.JsFunc("dialog")).cmd.toJsCmd
}
<div id="dialogpopup" title="Dialog Title"></div>
Please click <a href="" onclick={openDialog}>here</a> to open a new
window.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.