JavaScript Inside Div Panel

JavaScript Inside Div Panel

   I added Javascript inside div panel and Made that div hidden. I was expecting it will not request the JavaScript from server.
I was wrong, It request the scripts even if the parent container is hidden. I used tool called Fiddler to monitor the Http request.
Fiddler can be downloded from here
http://www.fiddler2.com/Fiddler2/version.asp . Its nice tool to know how browser is requesting the server.
Its nice tool to debug at cleint side.

e.g.

 <div>
 
    <script src=
http://some_domain.com/some_java_script.js >

    </script>
 
<div>

There are so many tools available to monitor http / https request like Http Viewer
http://www.httpwatch.com/?gclid=CKq12MrF2p4CFYIvpAodJQ4uIw


Satalaj

Tags: