[jQuery] Function help
[jQuery] Function help
If I understand you write you need to make you own js page and the link that to each page. The you only have the
function in one place.
<script type="text/javascript" src="js/myjavascript.js"></script>
You can place all of your own function in this js page and then call them as you want from the individual page. Or
you can have the script called automatically by adding a class that is observed.
$
document
.ready
function
{
if
$
".addRecord"
.length
{
addRecord
;
}
}
;