RcBuilder@walla.com
call centre: 054-5614020

option javascript class

Posted by: RcBuilder  /   Category: append / Array / HTML / JAVASCRIPT / jQuery / onchange / select   /   No Comments
09
Nov
2014

option javascript class OPTION CLASS function option(text, value) { this.text = text; this.value = value; this.toTag = toTag; function toTag() { return '<option value="' + this.value + '">' + this.text + '</option>'; } } HTML <select id="cmbMaster" onchange="LoadSlaveCombo(this.value);" style="width:130px;"> <option value="males">males</option> <option value="females">females</option> </select> <select id="cmbSlave" style="width:130px;"></select> USING // two levels selects // fill slave combo refer to master combo selection var arr_names = new Array(); arr_names = ; arr_names = ; function LoadSlaveCombo(type) { var cmb = $('#cmbSlave'); var arr.

Read more
  • פיתוח מערכות
  • פתרונות טכנולוגים
  • קידום אתרים
  • בניית אתרים