On Aug 3, 2006, at 6:48 PM, Dana_at_BBN wrote:

>
> I'm trying to create an array of anchor (A) tags , load them into a
> SPAN representing a tag-cloud, and then replace a DOM element,
> something like:
>
> in a loop ...
>   theTag = A("<a href=\"./getPhotoList.cgi\">", "disney", "</a>");

Well, that's not right. DOM code doesn't take HTML fragments.

A({href: "./getPhotoList.cgi"}, "disney")

-bob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to mochikit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/mochikit
-~----------~----~----~----~------~----~------~--~---

Reply via email to