I have a account page with links that load the pages with the .load. I am wondering how I can get to the load account info page from another page (not from the account page)? The other page just has a regular link to account.html and if that is loaded then I don't see the load-account-information.html tab. Can I pass the function loadAccountInfomration in the URL somehow? Thanks!
ACCOUNT PAGE
function loadAccountInformation() {
$('#accountMain').load("load-account-information.html");
}
<a href="#" onclick="loadAccountInformation()">My Information</a>
OTHER PAGE
<a href="account.html">Account Information</a>
There are multiple load functions on the account page and I just want to know if I can run one in particular on a click from another page.