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

modal dialog

Asked by prabhat
6 years 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]
6 years 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.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.