EasyUI Forum

General Category => General Discussion => Topic started by: chorauoc on April 07, 2017, 09:31:14 AM



Title: How to access div element inside a region (bootstrap tour issue with easyui)
Post by: chorauoc on April 07, 2017, 09:31:14 AM
Hi,
 
Please don't consider this as a stupid question, i know that any div can access via it id attribute, but i am asking my question because bootstrap tour is not properly scrolling to bottom of the page when my div lies inside a region, but it is working in normal html page without easyui, so i need to access divs inside easyi region and also need to access a panel inside a region

Note: when these divs are inside a tab then i can access as $('#tt').tabs('getSelected').scrollTo("#sec01") and it work, but only unable to get element when it inside a region


Title: Re: How to access div element inside a region (bootstrap tour issue with easyui)
Post by: jarry on April 07, 2017, 06:38:27 PM
Please call 'panel' method to get the special region panel in a layout component.
Code:
var p = $('#layout').layout('panel','west');
var el = p.find(...);