EasyUI Forum
June 26, 2024, 01:14:38 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: Why change onload triger time?  (Read 2666 times)
James
Jr. Member
**
Posts: 52


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


View Profile Email
« Reply #1 on: October 31, 2019, 12:11:36 AM »

Please show an example or some code snippets to demonstrate your issue.
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!