hi i need to capture the loading time of each http object such as img src="" and script src=""
if it is impossible to loop the http elements, i can build an array and than loop that
i know that i can use firebug, but i need that inside js
thanks
hi i need to capture the loading time of each http object such as img src="" and script src=""
if it is impossible to loop the http elements, i can build an array and than loop that
i know that i can use firebug, but i need that inside js
thanks
Something like:
<script>var startTimeForXX = +new Date;</script>
<img src="" onload="calculateEndTime(stateTimeForXX, +new Date);" />
Should do it.