mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-07-15 05:13:25 +08:00
表单可以正常提交
This commit is contained in:
parent
415faae8d8
commit
0260031ca1
@ -4,7 +4,7 @@
|
||||
}
|
||||
|
||||
|
||||
<form method="post" id="saveform" name="saveform" action="/index.php?s=/index/parse.html">
|
||||
<form method="post" id="saveform" name="saveform" action="">
|
||||
<input type="hidden" name="fields" id="fields" value="0">
|
||||
|
||||
<div class="alert">
|
||||
@ -105,7 +105,7 @@
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<button class="layui-btn layui-btn-normal">提交</button>
|
||||
<button class="layui-btn layui-btn-normal" id="btnSubmit">提交</button>
|
||||
<script type="text/javascript" charset="utf-8" src="/js/ueditor/ueditor.config.js?2023"></script>
|
||||
<script type="text/javascript" charset="utf-8" src="/js/ueditor/ueditor.all.js?2023"> </script>
|
||||
<script type="text/javascript" charset="utf-8" src="/js/ueditor/lang/zh-cn/zh-cn.js?2023"></script>
|
||||
|
@ -24,7 +24,7 @@
|
||||
//更多其他参数,请参考ueditor.config.js中的配置项
|
||||
});
|
||||
|
||||
var leipiFormDesign = {
|
||||
leipiFormDesign = {
|
||||
/*执行控件*/
|
||||
exec: function (method) {
|
||||
leipiEditor.execCommand(method);
|
||||
@ -216,7 +216,7 @@
|
||||
//异步提交数据
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: '/index.php?s=/index/parse.html',
|
||||
url: '/Forms/AddOrUpdate',
|
||||
//dataType : 'json',
|
||||
data: { 'type': type_value, 'formid': formid, 'parse_form': parse_form },
|
||||
success: function (data) {
|
||||
@ -270,6 +270,10 @@
|
||||
}
|
||||
};
|
||||
|
||||
$("#btnSubmit").click(function() {
|
||||
leipiFormDesign.fnCheckForm("save");
|
||||
});
|
||||
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user