On StefanBucher’s blog, I found the following link:
The survey was boring and often asked questions I did not know how to answer. I don’t use IM much anymore, for example. I use InternetRelayChat. How many people are on my buddy list. How many weblogs do I write on? Just one, this one. But I write on several wikis. Are they weblogs?
When I entered my email address and hit submit, it instantaneously said that an email had been sent. More AJAX! (See AJAX.) I looked at the source and sure enough, the confirmation message was not part of it. But it linked to an external javascript resource. It does all the POSTing and parsing.
The messy incompatibility disaster is far from over, however:
function get_ajax() { var A; try { A=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { A=new ActiveXObject("Microsoft.XMLHTTP"); } catch (oc) { A=null; } } if(!A && typeof XMLHttpRequest != "undefined") { A = new XMLHttpRequest(); try { A.overrideMimeType('text/xml'); } catch(e2) { /* for opera */ } } return A; }
This is the kind of stuff that scares me away from javascript.
Maybe I should investigate the script.aculo.us package. It seems to be part of Ruby On Rails. If I had one big humongous library to abstract all the browser mess away...
The AJAX article also pointed me at Sarissa...
#Web #Javascript