I'm using jqModal in my ASP.net MVC 3 project. I have some buttons where I apply CSS-styling on them but I've read that the class attribute of an input element can be used to close jqModal-dialogs.
This is an example of a code where jqModal's jqmClose-function is defined in the class attribute of the input-element:
<input class="jqmClose" type="button" onclick="DeleteItem()" value='Bevestig' />
Is there another way to use the class-attribute for CSS-styling and close the jqModal-dialog without using jqmClose?
Use the jqmHide
method to close a dialog: $('#my-dialog').jqmHide()
;
Also, your input has two class attributes.