EasyUI Forum
April 19, 2024, 01:41:07 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to access div element inside a region (bootstrap tour issue with easyui)  (Read 4921 times)
chorauoc
Newbie
*
Posts: 23


View Profile Email
« 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
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 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(...);
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!