2
我想禁用input type Button
的ajax調用。jquery mobile使用jquery mobile從輸入按鈕中刪除ajax調用
我知道如何使用以下方法data-ajax =「false」禁用正常鏈接的ajax調用,但當我嘗試使用表單提交按鈕時,它不適用於我。我只是想禁用Ajax調用我的表單提交按鈕。
這是我的內容:
<form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data">
<input type="text" name="firstname" value="" placeholder="* Firstname" />
<input type="text" name="lastname" value="" placeholder="Last Name" />
<input type="submit" value="<?php echo $button_continue; ?>" data-corners="false" data-theme="a" data-ajax="false" />
</form>
感謝您的幫助
非常感謝你,現在工作... – mans