我遇到了问题
这是我的模态窗口代码:
<div class="ui modal"> <i class="close icon"></i>
<div class="header">Modal Title</div>
<div class="content">
<form class="ui form" method="post" action="example.com">
<div class="image">An image can appear on left or an icon</div>
<div class="description">A description can appear on the right</div>
<div class="ui input" name="a">
<input type="text" placeholder="Search...">
</div>
<div class="actions">
<div class="ui button">Cancel</div>
<div class="ui button">OK</div>
<input type="submit" value="submit" class="ui button">
</div>
</form>
</div>
<script>
$('.ui.modal')
.modal('show')
;
</script>
问题是提交按钮不起作用。请帮帮我,我做什么?