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

2 comments:

lesovici 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
Pierre-François 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

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
Kevin 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
Tomalak's Realm
Cory & friends
Denise Howell
Dave Winer
Charles Wiltgen
Shelley Powers
Jonathon Delacour
Dorothea Salo
James Lileks
Megan McArdle
Tim Oren
Suw Charman
Halley Suitt

Weekly

Andrew Marks
Blogsisters
Arts & Letters Daily
Bricklin, Frankston & Reed
Marek
Steve Yost
Jeneane Sessum
Brian Micklethwait et al
Donna Wentworth - CopyFight
Chris Locke
Arnold Kling
Jonathan Peterson
Dana Blankenhorn
Tom Matrullo
Gary Turner
Marc Canter
St Luke's Chapel (Michael Penfield)

Sporadically

As the Apple Turns (back at last)
Small Pieces
Stuart Cheshire
RageBoy
Nonzero
Neil Gaiman
Thomas Vincent
Brad deLong
Andrew Odlyzko
Frank Paynter
ProSUA

No to Mickey Mouse Computers

powered by blogger

Blog Archive

  • ►  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 (225)
    • ►  December (15)
    • ►  November (21)
    • ►  October (22)
    • ►  September (12)
    • ►  August (11)
    • ►  July (28)
    • ►  June (19)
    • ►  May (29)
    • ►  April (18)
    • ►  March (19)
    • ►  February (17)
    • ►  January (14)
  • ►  2001 (13)
    • ►  December (2)
    • ►  November (11)

About Me

My Photo
Kevin Marks
Kevin Marks works at Salesforce as VP of Open Cloud Standards. From 2009 to 2010 we was ay BT as VP of Web Services. From 2007 to 2009, he worked at Google on OpenSocial. From 2003 to 2007 he was Principal Engineer at Technorati responsible for the spiders that make sense of the web and track millions of blogs daily. He has been inventing and innovating for over 17 years in emerging technologies where people, media and computers meet. Before joining Technorati, Kevin spent 5 years in the QuickTime Engineering team at Apple, building video capture and live streaming into OS X. He was a founder of The Multimedia Corporation in the UK, where he served as Production Manager and Executive Producer, shipping million-selling products and winning International awards. He has a Masters degree in Physics from Cambridge University and is a BBC-qualified Video Engineer.One of the driving forces behind microformats.org he regularly speaks at Conferences and Symposia on emergent net technologies and their cultural impact.
View my complete profile