We can separate custom code in the separate custom java script file. In this example ,we put the jQuery script in a separate file , which will save with ".js" extension. This ".js" file have all the jQuery scripting .
jqCustom.html
<html> |
custom.js
|
We can include "custom.js" file as :
<script type="text/javascript" src="custom.js"></script>
OUTPUT :
