안녕하세요 jquery에 대해 물어볼게있습니다
$.widget( "ui.combobox", {
_create: function() {
var input,
that = this,
select = this.element.hide(),
selected = select.children( ":selected" )
인터넷 여기저기 찾아보닌깐 this.element.hide()가 widget에 있는 element를 숨겨주는 기능을 하더라고요
근데 궁금한데 select 변수가 this.element.hide() 자체 기능을 개입받는건지 아니면 hide()에 따로 리턴값을 받는건지 궁금합니다
그리고 밑에 있는 select.children("selected") 이부분인데 변수 selected가 어떤 값을 받는지 현재 이부분에 대해 상세히 알고 싶습니다 귀찮으시더라도 좀 도와주세요 ㅜㅜ
_create: function() {
var input,
that = this,
select = this.element.hide(),
selected = select.children( ":selected" )
인터넷 여기저기 찾아보닌깐 this.element.hide()가 widget에 있는 element를 숨겨주는 기능을 하더라고요
근데 궁금한데 select 변수가 this.element.hide() 자체 기능을 개입받는건지 아니면 hide()에 따로 리턴값을 받는건지 궁금합니다
그리고 밑에 있는 select.children("selected") 이부분인데 변수 selected가 어떤 값을 받는지 현재 이부분에 대해 상세히 알고 싶습니다 귀찮으시더라도 좀 도와주세요 ㅜㅜ
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 1개