Im using this tutorial http://digwp.com/2009/07/display-a-random-post-with-ajax-refresh/# to create a section on my homepage where I can refresh a section with ajax. I have it all setup but the post is not loading on page load. I found a line in the page source that says...
<script type="text/javascript">var ajaxurl = "http://mysite.com/wp-load.php"; </script>
The </script> isn't highlighted like the beginning <script> so I'm wondering if that's the problem. Any idea why that is?