javascript - jQuery $(selector)[Property](Value) -
i want ask jquery syntax. have found syntax on bootstrap.js there are:
$('.class')['height'](0)
and understand this, equal with:
document.getelementsbyclassname('class')[0].style.height=0
but, have found again same syntax with:
$('.class')['height']($('.class')[0]['scrollheight'])
and
$('.class')['height']($('.class')['height']())(0).offsetheight
what is? not understand this.
Comments
Post a Comment