in reply to Building an ajax form that degrades gracefully
If you are hell-bent on providing Ajax-style functionality, I found the following approach much more convenient and better degrading:
That way your HTML stays relatively minimal and the added functionality gets pulled in when your JavaScript code adds the necessary attributes. You should avoid document.write and use the real DOM methods though ;)
|
|---|