Category: Ajax

  • A better understanding of JavaScript

    I’ve been working with JavaScript for years. It was my replacement for a server side language when I couldn’t afford to buy web space in the mid-90’s. Still, as the language becomes popular again, I recognized that I did understand the basics but there was much more to the language. digg it, add to delicious…

  • Better code downloading with AJAX

    I’ve been playing with Code downloading (or Javascript on Demand) a little more. Michael Mahemoff pointed me at his great Ajaxpatterns in which he suggests a different solution: if (self.uploadMessages) { // Already exists return; } var head = document.getElementsByTagName(“head”)[0]; var script = document.createElement(‘script’); script.type = ‘text/javascript’; script.src = “upload.js”; head.appendChild(script); Via DOM manipulation a…