Clarification on multipage jquery sites

Clarification on multipage jquery sites

Hello,

I am new to jQuery, and I think the "problem" I am experiencing is down to simply how jQuery operates, but would welcome some clarification...

When I have a multi-page jquery site, interlinked with hyperlinks, then clicking on a hyperlink causes the URL to change, as one would expect, and for the new page to load. 

However, I have found that any javascript functions I want to call must have been included on the initial home page. For instance, if index.html links to page.html, then when I loade page.html from index.html I can not call a javascript function from within page.html that has been defined on that page. The definition must have been in index.html. 

This is fine, but a bit odd, and means that if the page.html page is ever linked to directly, then since the javascript functions are defined on the index page, they are now missing.

Does the above make any sense? 

Cheers!