Load website in iframe dialog, save open and close time, jquery
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.
精彩评论