Class: AXSelectConverter

AXSelectConverter

new AXSelectConverter()

AXSelectConverter

Version:
  • v1.9.8
Author:
  • tom@axisj.com

Extends

Methods

staticAXSelectConverter.bindSelectAddOptions(objID, options){Array}

설명

Name Type Description
objID String

element select id

options Array

추가하려는 옵션 배열

Example
mySelect.bindSelectAddOptions("objID", [{optionValue:"1", optionText:"액시스제이"}]);

staticAXSelectConverter.bindSelectRemoveOptions(objID, options){Array}

설명

Name Type Description
objID String

element select id

options Array

추가하려는 옵션 배열

Example
mySelect.bindSelectRemoveOptions("objID", [{optionValue:"1", optionText:"액시스제이"}]);

staticAXSelectConverter.bindSelectUpdateOptions(objID, options, optionIndex){AXSelectConverter}

설명

Name Type Description
objID String

element select id

options Array | Object

옵션 배열

optionIndex Number

변경하려는 옵션 인덱스

Example
 jQuery("#AXSelect1").bindSelectUpdateOptions([
     {optionValue:1, optionText:"abc-1 : ABCDEFG"},
     {optionValue:2, optionText:"abc-2 : 09123123"},
     {optionValue:3, optionText:"abc-3 : 1222"},
     {optionValue:4, optionText:"abc-4 : AXISJ"},
     {optionValue:5, optionText:"abc-5 : 액시스 제이"}
 ]);

 jQuery("#AXSelect1").bindSelectUpdateOptions({optionValue:3, optionText:"특별한 값으로 변경"}, 3);