Archive for the 'AJAX & Javascript' Category

April 16th, 2008

The sorrowful task of finding Javascript news

Why is it that searching for Javascript inevitably returns piles of results for "Java"? Don't the machines that serve up results know that they are two very different things, and I'm interested in the former, not the latter? My employer is hiring right now for a Javascript Expert, and we keep ...
March 17th, 2008

Another one hits the front page

wmwhome2.gif Another post hits the front page; this one posing whether XML and JSON are topologically homeomorphic.
February 21st, 2008

DOM style properties: FF vs IE

For my own convenience and that of my loyal readers (both of you! hi!), Here is my table of style objects for Firefox and IE. When you're manipulating styles via Javascript, it helps to know whether a style property exists in the 2 browsers worth supporting. Here is that list. Some ...
January 29th, 2008

The most useless thing I’ve read a thousand times.

It's this: uselesserror.png OK, first complaint. My script does not have a Line 368. It only goes up to 211. I know what you're trying to say, it's that after parsing the DOM and code, something went wrong on my own internal imaginary Line 368 which you can't ...
January 22nd, 2008

Javascript: show and hide a table cell

Challenge: You want to show/hide some table cells. Problem: To hide a table cell, you set its style display property to "display:none". Easily accomplished. To show it, you set the style display property to either "block" in IE, or "table-cell" in Firefox. There’s the challenge - if you set the cell style to "display:block", ...
October 1st, 2007

Javascript on Demand: part two

Isn't it nice when a neat idea actually works? Javascript-on-demand (JOD), a technique that I toyed with a few months ago, is being put through trials on a real product. That the technique works is already proven, what's left is to determine whether the technique (using selectors to load javascript Assets ...
March 17th, 2007

Deconstructing Adsense - doing no evil

As a Javascript expert (ha!) I was recently given the fascinating task of deconstructing Adsense - reverse-engineering it in a sense, to pick apart all the scripts to see what makes it tick. Of course I have no way to hack into Google itself and see the machinery that parses ...
February 5th, 2007

Today I used JSON.

Been reading about it for a while, always intended to try it out, but never had the time or excuse. Well today I finally employed JSON to accomplish something. Before today, I had this uppity attitude that "anything JSON can do, XML does better". Well that's a lie. Now I see ...
November 7th, 2006

javascript on demand

I've been reading this new book, AJAX Patterns by Michael Mahemoff. Now I'm a seasoned developer and javascript is like a second language for me, but I haven't been keeping on abreast of all the nifty techniques flinging out of the AJAX world in the past 15 months. Within the first ...
September 26th, 2006

Canonical AJAX almost stumps Ian

Today I was consulted to debug a rather nasty bit of AJAX - a paging script that lives within Community Server. The problem appeared spontaneously on a bunch of sites where we applied a new ISAPI Rewrite rule: one that finds any instances of "default.aspx" and scrubs them out via redirection. Why ...