Does anyone know how to create a jQuery Dialog in a function? I can\'t find an attribute to set the message... In every example I found, the dialog has been statically written i
function createDialog(title, text, options) { return $("" + text + "") .dialog(options); }
" + text + "