What I'm trying to do is be able to altnernate between preset div-contents that may be completely different in structure. For example, one set of contents is a simple `<script language="javascript" src="foo.js"></script>", while another is a form made with a JavaScript/AJAX-combo. What I'm trying to do is have a form that takes information that the script uses, and the two being swapped out on the client-side, to speed up the process and save the server from repeatedly resending the page: another benefit is that the single, multipurposed page is added to search-engines.
Perhaps I ought to have both loaded at once, and have the change-button make one of them invisible?



Reply With Quote

Bookmarks