A notch above a monkey

AJAX talk at NEST

I’ll be giving a talk at NEST this Saturday with a catchall title “AJAX in jaz” (AJAX and me). Since the title gives me quite a lot of breathing space and I’m willing to take more if necessary, I’d like to hear from everyone who might meet me there at ungodly hour of 10AM.

I’d especially appreciate it if you could tell me what interests you and what doesn’t, so I don’t waste your time. Otherwise I’ll just ramble on about things I find important and interesting.

Changing the name attribute of INPUT elements in Explorer

Another day, another Internet Explorer problem.

You can’t set a name attribute on elements created with createElement method. You either have to provide the name when executing the method in true IE-only fashion (see example on linked page) or have to use some other method of creation like more widely usable but still non-standard innerHTML .

Changing the type of INPUT elements in Explorer

Building XHTML using DOM methods is annoying as it is without strange errors making things worse. Today I stumbled on a new problem when testing improved organizer in Internet Explorer.

If you are creating INPUT elements with non-default types (that is other than text input), then you have to change their type BEFORE you attach them to document tree. Otherwise Explorer might complain.

I haven’t had time to test this sufficiently and frankly I’d rather do something else on Sunday evening, so there might be some cases where above doesn’t hold true. But if you find yourself looking at such an error, it doesn’t hurt to try my remedy.