Title: [SOLVED] $('#A').layout({'add','collapsed:true'}); error Post by: Coder on April 24, 2022, 03:30:20 PM Code: $('#A .main').layout(); Quote jquery.js:4094 Uncaught TypeError: Cannot read properties of undefined (reading 'jQuery321056324004689852392') at Data.get (jquery.js:4094:9) at Data.access (jquery.js:4112:16) at Function.data (jquery.js:4252:19) at Object.options (<anonymous>:3481:10) at jQuery.fn.init.$.fn.panel (<anonymous>:3453:32) at _3fb (<anonymous>:5584:22) at _3f1 (<anonymous>:5537:10) at HTMLDivElement.<anonymous> (<anonymous>:5743:1) at Function.each (jquery.js:362:19) at jQuery.fn.init.each (jquery.js:157:17) without ,collapsed:true all work fine except that the panel is visible :) Title: Re: $('#A').layout({'add','collapsed:true'}); error Post by: jarry on April 24, 2022, 04:41:36 PM Please look at this code. It works fine.
Code: <!DOCTYPE html> Title: Re: [SOLVED] $('#A').layout({'add','collapsed:true'}); error Post by: Coder on April 24, 2022, 04:49:16 PM added
Code: $('#A .main').layout('add',{ region: 'center' , ... }); before Code: $('#A .main').layout('add',{ region: 'east' , ... }); fixed my problem. Thank You very much! |