Hello. I’m building a database of my music collection. I have a sortable table with five columns: artist, album, song, disc/track number, and playlist. On clicking a cell in the playlist column, I simply want to toggle between having a bullet in that cell and having it empty (for several reasons I don’t want checklists). The thing is that I don’t want to assign individual id’s to each cell. The only code I want is basically the following:
<td id=”playlist”><a href=”javascript:toggleBullet();”></a></td>.
I guess the javascript needs to know that the only cell to execute the function in is the one that is currently being clicked in. But how might I set this up? Thanks a lot.