search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

modal dialog

Asked by prabhat
8 days ago.

Hi
i am using modal dialog by using showhtml.
does the modal dialog has default Ok and cancel button.or we need to build html for OK and cancel also

Thank you

Answer posted by Dan Letecky [DayPilot]
8 days ago.

You need to add the buttons yourself. The showHtml() doesn't add anything to the HTML and only displays what you supply.

You can close the dialog by calling modal.close() method.

New Reply
This reply is
Your name (optional):