JQuery Load a page into a div and onload change content of second div
<p>I have a page with 2 divs one is called menu and the other is called content. The content div loads a log in page. When a user tries to log in I call a script into the content div and if unsuccessful it reloads the log in page.</p>

<p>If it is successful I use header location to redirect to the logged in page. When this page loads in the content div i need it to change the menu div to a different menu. I have tried using the following but to no avail. Is there any way that when the successful page loads into the content div that it can automatically change the content of the menu div</p>

<p>this is what i have tried in logged in page that is loaded into content div  the body tag of that page has</p>

<blockquote>
  <p>onLoad="$('div#menu').load('Includes/logged-menu-page.php')"</p>
</blockquote>
