popModal disappears in 1 sec

I am using the following jQuery plugin in my application. For this I have <link rel="stylesheet" href="styles/popModal.min.css" media="screen" /> included in the <head> of my html document and also `

When I try to do something like this in my javascript page, before I could do anything inside the onOkBut function, the popModal displays for 1 sec and disappears.

            if (selectedField === "edit") {

                    html: $('#editName').html(),
                    onOkBut: function(){



I am not sure what troubleshooting steps I should follow. Has anyone faced similar type of problem before? Thanks !

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.