JAH - Ajax without XML

Posted by Unknown Kamis, 12 Mei 2005 0 komentar
With all the excitement, it's worth pointing out a simple technique I call - which can be Just Async HTML, or Javascript Async HTML to taste.

This works on the microformat principle that XHTML is XML, but with the added advantage that Javascript already knows how to handle XHTML DOM's so no xml parsing is required.

You just include <script language="javascript1.3" src="jah.js" ></script> in the <head> and then link to dynamic pages with <a href="javascript:jah('kevin.html','target');">kevin</a> where target is the id of the HTML element you want to replace.

Here's a very simple static example.

If you want an elaborate dynamic example, go see Kottke, he gets paid for this kind of thing.

Technorati Tags: ,

TERIMA KASIH ATAS KUNJUNGAN SAUDARA
Judul: JAH - Ajax without XML
Ditulis oleh Unknown
Rating Blog 5 dari 5
Semoga artikel ini bermanfaat bagi saudara. Jika ingin mengutip, baik itu sebagian atau keseluruhan dari isi artikel ini harap menyertakan link dofollow ke https://apk-zenonia5.blogspot.com/2005/05/jah-ajax-without-xml.html. Terima kasih sudah singgah membaca artikel ini.

0 komentar:

Posting Komentar

Trik SEO Terbaru support Online Shop Baju Wanita - Original design by Bamz | Copyright of apk zenonia 5.