Monthly Archives: September 2009

jQuery – stop an ajax call!

It’s a simple task with no simple question, although in jQuery, as I mentioned now, everything is very simple. Even this task. In a short example we’ve a simple AJAX call with very large request. xhr = $.ajax({ url : … Continue reading

Posted in javascript, micro tutorial | Tagged , , , | Leave a comment

setAttribute(‘class’) and IE

What happens on IE, our favorite browser, when you try to setup a class attribute on a DOM element? Actually this is not possible, because setAttribute(‘class’, ‘my-class’) is obviously working only on non-IE browsers. On IE actually you should setup … Continue reading

Posted in javascript, micro tutorial | Tagged , , , | 1 Comment

Tiny ArcGIS javascript library

I recently wrote a small, very very small, javascript library using ArcGIS. It might be helpful for someone however. It’s really small and it can be extended easily. The code and the samples can be seen on http://stoimen.com/arcgis

Posted in javascript, micro tutorial | Tagged , , , , | Leave a comment