开发者

Load website in iframe dialog, save open and close time, jquery

开发者 https://www.devze.com 2023-01-17 01:18 出处:网络
I found an example that shows how to load a website in an iframe using jquery, link My question is, is it possible to get a timestamp of the opening and closing event of dialog that d开发者_高级运维is

I found an example that shows how to load a website in an iframe using jquery, link My question is, is it possible to get a timestamp of the opening and closing event of dialog that d开发者_高级运维isplays the iframe?


Yes, inside .dialog({ }) you can handle the open and close events, and get the current time.

See: http://jqueryui.com/demos/dialog/#event-open for usage examples of those events.

0

精彩评论

暂无评论...
验证码 换一张
取 消