How can I make buttons inside a listcell function in XUL? I am having trouble getting it to work. Here is the XUL code:
<listitem id = "1">
<listcell label = "OK Computer"/>
<listcell label = "Radiohead"/>
<listcell label = "1997"/>
<listcell label = "Platinum"/>
<listcell label = "5/5"/>
<listcell label = "Alternative Rock"/>
<button label = "Edit" oncommand= "alert('Hello World');"/>
<button label = "Delete" oncommand = "deleteItem();"/>
</listitem>
The button works outside of the list, but when placed inside the list, my mouse pointer doesn't even recognize it as a clickable button (by changing to a hand pointer). Any suggestions for this issue?