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.
No comments:
Post a Comment