我的问题看起来很简单,我就是想不通。为什么这样做(指定要设置高度的变量,在本例中为height7): var hash = window.location.hash.substring^="option"]').height(height7); // No hash found这并不起作用(在本例中,试图构建我想要打开的div的名称,将其放在一个变量
<div class="third"><button type="submit" class="some_class" id="some_id">send</button></div>Jquerysome_id").click(function() {
var test = $(this).closest('.first').attr('id'