I have a table and I would like to create a dialog box and a link for every line that I clicked to launch it. The dialog box can be
e.g. Name 1 (Click to get more details). {These are the details for name 1} Name 2 (click to get more details). {This is the name of 2}
So I will need a dialogue that I can pass a custom title and body ... and then click on the link to launch Click here to chat
I hope I have made myself clear.
Many thanks, JPH
I think this is what you said It will:
& lt; Div id = "mydialog" & gt; & Lt; / Div & gt; & Lt; Script & gt; $ (Function () {$ ("# MyDialog"). Dialog ({autoOpen: false});}); Function ShowEdiology (title, body) {$ ("# myDialog") Html (body); $ ("# MyDialog") Dialog ("option", "title", title); $ ("# MyDialog") dialog ('open') } & Lt; / SCRIPT & gt;
Comments
Post a Comment