Converting existing DOM-object into Agility Object

40 views
Skip to first unread message

dustin

unread,
Oct 15, 2012, 6:13:07 AM10/15/12
to agil...@googlegroups.com
Is there a way I can convert an existing node into a agility object without appending this object to the document again.
For example in my application I have a list of links which I want to convert into agility objects so they can interact with other objects. I do not know anything of these list entries before because they are created dynamically by the server (I use djinja2-templates on the server).

<ul>
     {% for show in shows %}
<li id="{{ show.key() }}"><a>{{ show.title }}</a></li>
     {% endfor %}
</ul>

Reply all
Reply to author
Forward
0 new messages