Like I’ve mentioned before, I am working on a new version
of the BlaatSchaap Website. This is supposed to be a ‘live’
website. Loading content dynamic without refreshing á la AJAX.
So, depending on what page the user is looking at, I
include different JavaScript source files, using the method found on
On page load, this method works correctly, but since I want to
be able change the content of the site from JavaScript only
after the initial site is loaded, I want to include more script
based on user events.
That’s when the trouble appears. When I try to use this method,
after the initial page load, the document.write function, used
in this method causes my whole document to disappear.
I’ve only started using this method, after my initial attempts to
just write the code to a div caused in no result, the code wasn’t
being parsed. It seems the code is only parsed when I use the
document.write function.
« Living my life. MySQL »