open model using materialize open code example
Example 1: open model using materialize open
$(".MyModal").openModal()
Example 2: open model using materialize open
$(".MyModal").closeModal()
$(".MyModal").openModal()
$(".MyModal").closeModal()