Attempting to integrate a dynamic loader into an existing page. When a link is clicked on the sidebar, I would like load content from an include file. The closes thing I've got to that is here:
I just want to take the contents of a .inc file and dump it straight into the span section instead of just a string with a few tags, while only refreshing that part of the page.Code:<head> <script language="Javascript"> function dynamicTest() { test.innerHTML = 'Test Successful'; } </script> </head> <body> <table border="1" width="100%" height="250"> <tr> <td width="50%"> <a href="javascript: dynamicTest()">testlink</a> </td> <td> <span id="test">test undergoing</span> </td> </tr> </table> </body>
I have very limited knowledge of javascript, but I'm pretty good with php, html, and CSS.



Reply With Quote

Bookmarks