Welcome to WebmasterWorld Guest from

Forum Moderators: httpwebwitch

Message Too Old, No Replies

links in XML?



11:37 am on Mar 18, 2012 (gmt 0)

<LastItems><a href="test">whatever</a></LastItems>

now when i make my javascript this is what i got going on.

 <div spry:region="ds1">
<th spry:sort="Name">Name</th>
<th spry:sort="RecentPointsSpent">RecentPointsSpent</th>
<th spry:sort="RecentPointsEarned">RecentPointsEarned</th>
<th spry:sort="CurrentPoints">CurrentPoints</th>
<th spry:sort="LastItems">LastItems</th>
<tr spry:repeat="ds1">

how come it doesnt show the link? It shows it as undefined?


11:43 pm on Mar 18, 2012 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

For starters your XML is invalid as you are using the reserved characters of < and >

Maybe you should split your LastItems so you have one that contains the text and the other the URL, and you then have your javascript write that into the <a href="{LastItemsURL">LastItems</a>

Featured Threads

Hot Threads This Week

Hot Threads This Month