jQuery Form Plugin

联合创作 · 2023-10-02 11:32

jQuery Form Plugin 是一个扩展表单操作的 jQuery 插件,直接文件上传表单,示例代码:  

<head>
    <script type="text/javascript" src="path/to/jquery.js"></script>
    <script type="text/javascript" src="path/to/form.js"></script>
 
    <script type="text/javascript">
        // wait for the DOM to be loaded
        $(document).ready(function() {
            // bind 'myForm' and provide a simple callback function
            $('#myForm').ajaxForm(function() {
                alert("Thank you for your comment!");
            });
        });
    </script>
</head>

这里有一份中文文档:

http://www.aqee.net/docs/jquery.form.plugin/jquery.form.plugin.html

浏览 5
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑
举报