点击txt框弹出div框

$("#txtoptional", $container).click(function () {
  $("#popupWin", $container).css({
    left: $(this)[0].offsetLeft + "px",
    top: $(this)[0].offsetTop + 25 + "px"
  });
  $("#popupWin", $container).show()

  if ($(this).val() == "") {
    initGrid_Search()//框中显示一个kendo树
  }
});

posted @ 2015-07-07 15:57  wjl910  阅读(52)  评论(0)    收藏  举报