EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: James on October 30, 2019, 08:03:22 PM



Title: Why change onload triger time?
Post by: James on October 30, 2019, 08:03:22 PM
in 1.8.5 if I use winodw to load a page with script , page's script will triger before onload function, but in 1.8.8 it runs after onload function , I used to reset window height by read window object’s scrollHeight in onload function,and now it seems impossible,becase in the page,there are some easyui items,if onload run first, those items have not parseed yet, the scrollHeight will be smaller then it should be.


Title: Re: Why change onload triger time?
Post by: jarry on October 31, 2019, 12:11:36 AM
Please show an example or some code snippets to demonstrate your issue.