In opener
click event you have not added the #
before dialog-model
. The click event should like below.
$('#opener').click(function(){
$ ("#dialog-model").dialog('open');
});
JS Fiddle: http://jsfiddle.net/azim101/6tvoma2c/
1
solved jquery messagebox get from button click mvc4