版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_36135928/article/details/84863051
ExtJs获取Url中的某个参数,下面例子是获取url中的name属性值
Ext.Object.fromQueryString(window.location.href).name;
ExtJs根据id获取元素,给元素设置属性
id: 'student',
Ext.getCmp('student').name = '张三'