Epeus' epigone

Edifying exquisite equine entrapments

Thursday, 12 May 2005

JAH - Ajax without XML

With all the AJAX excitement, it's worth pointing out a simple technique I call JAH - 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: ajax, jah

Posted by Kevin Marks at 00:38

5 comments:

Anonymous said...

According to this:
http://microformats.org/wiki/rest/ahah

the AHAH credits goes to
David Hansson (http://www.loudthinking.com/)
Kevin Marks (http://epeus.blogspot.com/)
Ernest Prabhakar (http://www.opendarwin.org/~drernie/)
_______________________

Then this one (D. Florio):

http://www.gizax.it/ahahsection/

is just a 'remake'?

AJAX vs JAH ? (For example, it will be more difficult for somebody to implement something like gmail.com using JAH than AJAX ?)

September 06, 2007 6:03 am
Unknown said...

Hi,

I know this post is from a long time ago but I am starting to become some kind of madman because of the problem I encounter with jah.

Here is the thing, I implemented it in a webpage (rather complicated one) en modified it a bit. When I tested the thing, it just didn't work (jah error: Unknown).

I tried tons of thing and finally just took the codes from you exemple and guess what ? Not working, even with the same sources as you have (it's working on your link but not my website, I just don't understand).

Can you just contact me at mazziotta.p.f@gmail.com if you have a little idea ?

Thanks in advance.

July 01, 2009 6:40 pm
Kevin Marks said...

Arne Hulstein: mentioned this in @fdevillamil @kevinmarks You r....
via twitter.com

May 11, 2016 12:59 am
Kevin Marks said...

Fred de Villamil ✌︎: mentioned this in @kevinmarks I remember that po....
via twitter.com

May 11, 2016 12:59 am
Kevin Marks said...

fluffy: mentioned this in So about that AMP-script thing.
via beesbuzz.biz

August 23, 2019 4:57 pm

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

This is my personal blog. Any views you read here are mine, and not my employers'.

Atom Feed

Support the Open Rights Group
My photoKevin Marks Me on Twitter
Me on G+

People's thoughts I read:

Daily

Rosie
San Jose Young People's Theatre
Dave Weinberger
Doc Searls
Gonzo Engaged
AKMA
Cory & friends
Denise Howell
Charles Wiltgen
Shelley Powers
James Lileks
Suw Charman
Halley Suitt

Weekly

Andrew Marks
Blogsisters
Arts & Letters Daily
Bricklin, Frankston & Reed
Steve Yost
Jeneane Sessum
Brian Micklethwait et al
Tom Matrullo
Gary Turner

Sporadically

Small Pieces
Stuart Cheshire
RageBoy
Nonzero
Neil Gaiman
Thomas Vincent
Brad deLong
Andrew Odlyzko
ProSUA

No to Mickey Mouse Computers

powered by blogger

Blog Archive

  • ►  2023 (1)
    • ►  September (1)
  • ►  2017 (2)
    • ►  May (1)
    • ►  April (1)
  • ►  2015 (7)
    • ►  November (2)
    • ►  May (3)
    • ►  April (1)
    • ►  January (1)
  • ►  2014 (3)
    • ►  October (1)
    • ►  April (2)
  • ►  2013 (5)
    • ►  June (1)
    • ►  May (1)
    • ►  April (2)
    • ►  March (1)
  • ►  2012 (8)
    • ►  December (1)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  January (4)
  • ►  2011 (11)
    • ►  December (1)
    • ►  November (1)
    • ►  September (2)
    • ►  August (2)
    • ►  July (1)
    • ►  April (2)
    • ►  January (2)
  • ►  2010 (16)
    • ►  November (1)
    • ►  October (1)
    • ►  September (3)
    • ►  June (1)
    • ►  May (2)
    • ►  April (2)
    • ►  March (2)
    • ►  February (2)
    • ►  January (2)
  • ►  2009 (22)
    • ►  November (2)
    • ►  October (2)
    • ►  September (2)
    • ►  August (3)
    • ►  July (2)
    • ►  June (2)
    • ►  May (2)
    • ►  April (1)
    • ►  February (2)
    • ►  January (4)
  • ►  2008 (29)
    • ►  December (2)
    • ►  November (3)
    • ►  August (1)
    • ►  July (3)
    • ►  June (3)
    • ►  May (5)
    • ►  April (2)
    • ►  February (3)
    • ►  January (7)
  • ►  2007 (45)
    • ►  November (3)
    • ►  October (4)
    • ►  September (4)
    • ►  August (10)
    • ►  July (3)
    • ►  June (8)
    • ►  April (2)
    • ►  March (6)
    • ►  February (3)
    • ►  January (2)
  • ►  2006 (119)
    • ►  December (13)
    • ►  November (8)
    • ►  October (16)
    • ►  September (10)
    • ►  August (3)
    • ►  July (6)
    • ►  June (24)
    • ►  May (3)
    • ►  April (10)
    • ►  March (7)
    • ►  February (8)
    • ►  January (11)
  • ▼  2005 (101)
    • ►  December (10)
    • ►  November (13)
    • ►  October (9)
    • ►  September (8)
    • ►  August (7)
    • ►  July (7)
    • ►  June (8)
    • ▼  May (12)
      • Bacon Bacon Bacon
      • Pulp's Common People meets Tank Girl
      • Solving Lileks' dilemma
      • My tail is longer than yours...
      • 10 million blogs on Technorati
      • Creative Commons licensing the Katherina movie tea...
      • What are they saying about me?
      • JAH - Ajax without XML
      • Long Tails, Big Heads and Feet of Clay
      • Hoist on her petard?
      • Google's Singularity machine
      • 10 years of streaming and still no progress
    • ►  April (7)
    • ►  March (6)
    • ►  February (1)
    • ►  January (13)
  • ►  2004 (53)
    • ►  December (8)
    • ►  November (5)
    • ►  October (6)
    • ►  September (7)
    • ►  July (5)
    • ►  June (3)
    • ►  May (2)
    • ►  March (3)
    • ►  February (7)
    • ►  January (7)
  • ►  2003 (196)
    • ►  December (12)
    • ►  November (14)
    • ►  October (21)
    • ►  September (23)
    • ►  August (19)
    • ►  July (11)
    • ►  June (14)
    • ►  May (9)
    • ►  April (22)
    • ►  March (20)
    • ►  February (16)
    • ►  January (15)
  • ►  2002 (224)
    • ►  December (15)
    • ►  November (21)
    • ►  October (22)
    • ►  September (12)
    • ►  August (11)
    • ►  July (28)
    • ►  June (19)
    • ►  May (29)
    • ►  April (18)
    • ►  March (19)
    • ►  February (16)
    • ►  January (14)
  • ►  2001 (13)
    • ►  December (2)
    • ►  November (11)

Contributors

  • Kevin Marks
  • Kevin marks