Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ax5.ui.select 의 현재 선택된 value 와 text 값을 어떻게 알 수 있나요? #4

Open
winoh opened this issue Mar 15, 2018 · 1 comment

Comments

@winoh
Copy link

winoh commented Mar 15, 2018

<script type="text/javascript"> var select = new ax5.ui.select(); $(document.body).ready(function () { var EL = $('[data-ax5select="select1"]'); select.bind({ theme: "success", size: "lg", target: EL, options: [ {value:'1', text:'text 1'}, {value:'2', text:'text 2'}, {value:'3', text:'text 3'}, {value:'4', text:'text 4'} ], onStateChanged: function () { //console.log(this); } }); }); </script>
//질문1 : select box의  value 값은 어떻게 읽을 수 있나요 ?
var v_value = ???

//질문2 : select box의 text 값은 어떻게 읽을 수 있나요 ?
var v_text = ???

@thomasJang
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants