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

modal dialog

Asked by prabhat
1 year 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]
1 year 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 6 months old and has been closed. Please create a new question if you have anything to add.