I am attempting to add a list item to an existing list using:
Tiggr('mylist').append('New item');
Tiggr( 'mylist' ).listview('refresh');
This appends 'New item' to list item one. How do I add a fully structured list item?
Hi,
Ignore this found the solution:
Tiggr('mylist').append(
$('').append(
$('a rel="nofollow"').attr('href','/messages').append(
$('span').attr('class', 'tab').append("Message center")
)));
Tiggr( 'mylist' ).listview('refresh');/span/a