These are based on Kevin Hamilton’s observation that it’s highly likely the problems are caused by the tags method in IE/Win’s document.all DOM interface. As he says:
[I]f you have an element with an id=’tags’, then document.all.tags is now a reference to that element, and no longer a method of the document.all object.
Such states would completely shatter any IE DOM scripting that relied on the document.all methods, and at least in the case of tags causes problems like crashing on print (probably because of the aforementioned conflict between the ID value and the DOM method). The other keywords of concern are chronicled in the test pages listed above. I’d test IE/Win myself, except I don’t have a printer handy for IE/Win to use, and besides, bug-hunting is best conducted in large groups.
Julien Couvreur has once again made his mark on the Ajax world – first with the release of the widely-used Ajax debugger for Firefox (using Greasemonkey) and now with his latest – a bookmarklet for IE containing a port of the same script. Read the rest of this entry »
Posted in Browser Plugins | Comments Off on XmlHttpRequest Debugging for IE
In a follow-up to this popular post from Max Kiesler, he’s collected 60 more Ajax tutorials from all around the web and for developers of all skill levels.
Among those on the list this time, there’s things like:
AJAX Chat Tutorials
AJAX Client-Server Communication Tutorials
AJAX Forms and Autocomplete Tutorials
AJAX Activity Indicator Tutorials
AJAX General Tutorials
Under most of the category headers, there’s a few different tutorials listed, with the added benefit of coming at things from more than one perspective. Of course, again, he doesn’t claim to have a comprehensive listing of these tutorials (I don’t think that’s even possible), so any additions you might want to make to the list are always appreciated.
Posted in Ajax, Examples | Comments Off on 60 More AJAX Tutorials from Max
Late last week I was working on a content submission form, and thinking about a good way to add unobtrusive validation using Prototype, similar to what the guys at Particle Tree have talked about in a couplearticles earlier. I liked the approach the articles took and went looking for any libraries doing the same thing built on top of Prototype.
This will check that “field1″ is populated and is a valid number onsubmit, and also onblur if you pass the immediate: true option into Validation. I was able to wire up my form with this in about five minutes, getting nice faded in error messages onblur with about two lines of code and the additional classes. I then added my own validator to count the number of words in a text area, which was also simple to add. CSS hooks makes it easy to style the error message to match your theme. The one thing that I really missed was being able to provide my own effects for the display and hide of the error messages – the “options” hook isn’t there yet but should be pretty easy to add.
THe author has provided a simple demo, and the latest version available for download is 1.2.1. Overall, a nice, clean library for quick unobtrusive validation with Prototype.