Each last remove problems

Each last remove problems

i just can't seem to mind a way to make this work, been searching for hours now... 

i have a page with a lot of dynamic content wich because of some irritating buggery with the CMS system results in lists of descriptions like "janitor, cleaner, fisher," 
i need to remove the last comma, wich is in a span tag. the <td> all this is in has the ID funktionID.

to clarify: i have a variable amount of tags from wich i want to remove the last tag

heres my code, what am i messing up?


 $("#funktionID").each(function(){
 $(this span:last).remove();

thanks in advance 

Andreas

EDIT:  heres an example of one of the objects i want to modify:

  1. <td id="funktionID" class="section" style="border-top:1px #ffffff solid;border-left:1px #ffffff solid;border-bottom:1px #ffffff solid;border-right:1px #ffffff solid; width:55%;background-color:#efefef;" align="left" valign="middle">
  2. <b>Funktioner:</b> <a style="cursor:pointer" onclick="searchme('Webudvikling')">Webudvikling</a>
  3. <span>,</span> 
  4. <a style="cursor:pointer" onclick="searchme('Support')">Support</a>
  5. <span>,</span> </td>
aaaand yes i know the style of the TD is a horrible example of inline css but this cms system.... sigh