Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/76.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/backbone.js/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery ui 如何使用jQuery代码代替ExtJS代码_Jquery Ui_Jquery_Extjs_Extjs4 - Fatal编程技术网

Jquery ui 如何使用jQuery代码代替ExtJS代码

Jquery ui 如何使用jQuery代码代替ExtJS代码,jquery-ui,jquery,extjs,extjs4,Jquery Ui,Jquery,Extjs,Extjs4,在我的web应用程序中,我使用了ExtJS代码 目前,我正在将ExtJS代码移动到jQuery代码 下面是我的EXT JS代码,它包含表单面板语句: var signInForm = new Ext.FormPanel({ renderTo: Ext.get('sign_In_Form'), labelWidth: 125, labelAlign: 'right', frame: false, border:

在我的web应用程序中,我使用了ExtJS代码

目前,我正在将ExtJS代码移动到jQuery代码

下面是我的EXT JS代码,它包含表单面板语句:

    var signInForm = new Ext.FormPanel({
        renderTo: Ext.get('sign_In_Form'),
        labelWidth: 125,
        labelAlign: 'right',
        frame: false,
        border: false,
        monitorValid: true,
        defaults: {
            width: 200
        },
        defaultType: 'textfield',
        items: [{
                fieldLabel: 'Email/Username',
                name: 'username',
                allowBlank: false
            },{
                fieldLabel: 'Password',
                name: 'password',
                inputType: 'password',
                allowBlank: false
            },{
                name: 'test',
                value: 'testuser',
                xtype: 'hidden'
            }
        ],
        buttonAlign: 'left',
        buttons: [{
            text: 'Sign In',
            formBind: true,
            handler: function() {
                if (processing == false) {
                    //some code here
                }   
            }
        }],
        keys: {
            key: Ext.EventObject.ENTER,
            fn: function() { // some code here }
        }
    });
我想把上面的ExtJS代码转换成jQuery代码

是否有相关指南可供参考

你的指点真的很有用

谢谢


Pravin

Raynos是正确的,您需要开始阅读文档以转换此代码。虽然这不是很难做到

如果您在移动应用程序中使用EXT JS,则可以使用:


为什么需要转换为jQuery?没有自动转换器,只需学习jQuery并重新编写应用程序他说这是一个移动应用程序吗?你是想推荐jQueryUI吗?