25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

15 satır
501 B

  1. /* Only using native widget now - no longer want to support IE6 */
  2. function SelectWidget(parent, options, width, editable, bg_color) {
  3. var me = this;
  4. // native select
  5. this.inp = $a(parent, 'select');
  6. if(options) add_sel_options(this.inp, options);
  7. if(width) $y(this.inp, {width:width});
  8. this.set_width = function(w) { $y(this.inp, {width:w}) };
  9. this.set_options = function(o) { add_sel_options(this.inp, o); }
  10. this.inp.onchange = function() {
  11. if(me.onchange)me.onchange(this);
  12. }
  13. return;
  14. }