• 测试一下可运行的js


    canrun

    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>grid</title>
            <link rel="stylesheet" type="text/css" href="http://www.padpeek.com/ext/resources/css/ext-all.css" />
            <script type="text/javascript" src="http://www.padpeek.com/ext/adapter/ext/ext-base.js"></script>
            <script type="text/javascript" src="http://www.padpeek.com/ext/ext-all.js"></script>
            <script type="text/javascript" src="http://www.padpeek.com/ext/source/locale/ext-lang-zh_CN.js"></script>
            <script type="text/javascript">
    Ext.onReady(function(){
    
        Ext.QuickTips.init();
    
        var form = new Ext.form.FormPanel({
            labelAlign: 'right',
            labelWidth: 60,
            title: 'form',
            frame:true,
             650,
            url: '04_01_01.jsp',
    
            items: [{
                layout:'column',
                items: [{
                    columnWidth:.33,
                    layout: 'form',
                    defaultType: 'textfield',
                    items:[
                        {fieldLabel: '俩字'},
                        {fieldLabel: '俩字'}
                    ]
                },{
                    columnWidth:.33,
                    layout: 'form',
                    defaultType: 'textfield',
                    items:[
                        {fieldLabel: '三个字'},
                        {fieldLabel: '三个字'},
                        {fieldLabel: '三个字'}
                    ]
                },{
                    columnWidth:.33,
                    layout: 'form',
                    defaultType: 'textfield',
                    items:[
                        {fieldLabel: '四个汉字'},
                        {fieldLabel: '四个汉字'},
                        {fieldLabel: '四个汉字'},
                        {fieldLabel: '四个汉字'}
                    ]
                }]
            }],
            buttons: [{
                text: '按钮',
                handler: function() {
                    form.getForm().submit();
                }
            }]
        });
        form.render("form");
    
    });
            </script>
        </head>
        <body>
            <script type="text/javascript" src="../examples.js"></script>
            <div id="form" style="margin:100px;"></div>
        </body>
    </html>
  • 相关阅读:
    Oracle数据库备份与恢复的三种方法
    mybatis内置类型
    mybatis中#{}和${}的区别
    Statement和PreparedStatement的区别; 什么是SQL注入,怎么防止SQL注入?
    java web简单权限管理设计
    Flask总结篇
    Django总结篇
    API总结
    实战小练习
    数据操作
  • 原文地址:https://www.cnblogs.com/meetrice/p/2594294.html
Copyright © 2020-2023  润新知