ページに乗算フォーム(自動生成)があります。ユーザーにレコードの削除を確認するよう求めています。ユーザーが [いいえ] をクリックすると、モーダル ダイアログが閉じられて何も起こりませんが、[はい] ボタンをクリックしても何も起こりません。誰でも助けることができますか?
コードは次のとおりです。
 <input type="submit" value="Click me" class="button" />
 <div id="modal">
<div id="heading">
    Record will be deleted! Please Confirm.
</div>
<div id="content">
    <p>Record will be deleted! This operation can't be undone. <br />Are you sure?</p>
    <input type="button" onclick="return true;" class="button green close" value="Yes"></button>
    <input type="button" onclick="return false;" class="button red close" value="No"></button>
</div>
$('.oneUser').on('submit',function(e){
    $('#modal').reveal({ 
        animation: 'fade',                   
        animationspeed: 600,                       
        closeonbackgroundclick: true,           
        dismissmodalclass: 'close'    
    });
    return false;
});