Like I said, you're not properly handling the events from MDX -- sclick is used for more than just a click in the ListView. Reread the part of the FAQ on MDX events. If you were to do:
echo -a $did($dname,$did,1)
...as the code for your event, (instead of echoing the seltext) you would see what I mean.
Scoring disabled. You must be logged in to score posts.