All knowledge that the world has ever received comes from the mind; the infinite library of the universe is in our own mind. - Swamy Vivekananda
Monday, February 9, 2009
JQuery event is not working after updatepanel update
Thursday, January 15, 2009
Loading external javascript files in web page
External java script files will be included into web page by using <script> tag.
Here is the example of including external java script file in web page.
<script src="Cmmon.js" type="text/javascript"></script>
Script tag should be closed properly. The following example is wrong way of including external java script files.
<script src="Cmmon.js" type="text/javascript" />
With the above statement only one javascript file will be loaded into page, when you try to load multiple java script files.
this._form is null javascript error
Here is one scenario which I had faced in my application for this issue.
I had included some of the external java script files in my application with below syntax.
<script src="Common.js" type="text/javascript" /> Wrong
It is wrong the script tag should be closed with “</script>” instead of "/>". Then only all the scripts will be loaded into the page properly.
<script src="Common.js" type="text/javascript"></script> Correct