問個$F的問題
$( "text ").value=$F( 'select ');
可以
直接
$F( "text=$F( 'select ');
為什麼不行?
------解决方案--------------------
var $F = Form.Element.getValue;
Form.Element.Observer = Class.create();
Form.Element.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {
getValue: function() {
return Form.Element.getValue(this.element);
}
});
看一下prototype.js你就明白了
查询谷 - www.chaxungu.com
問個$F的問題解决方法
编辑:chaxungu时间:2022-10-02 23:22:23分类:web开发