jquery opens a dialog on page refresh
Posted on 2011-09-26
I calll a function to set a list item inside the open: event for a dialog. But that dialog is getting opened on page refresh.
I have Success, Warning and Failure dialogs which my code successfully calls when needed. But they are also called on page initialization. Why?
I do have a div tag associated with this dialog, which includes empty list items. The open: event of the dialog sets the events.
How can I change this so the dialog will not initialize itself on page refresh?