magic.
thanks Tim
try
if(post.n) { li.appendChild(document.createTextNode(post.n)) }
-tim
pieman wrote:
I have included the 'notes' of each entry in my linkroll like so:
li.appendChild(document.createTextNode(post.n))
But for bookmarks without any notes it prints 'undefined' in my
page, which looks a bit ugly.
Is there a way to print nothing in such cases?
_______________________________________________
discuss mailing list
discuss@del.icio.us
http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss
_______________________________________________
discuss mailing list
discuss@del.icio.us
http://lists.del.icio.us/cgi-bin/mailman/listinfo/discuss