Youngsun-ajax_delete_implemented2

gave data-id="<%=widget.id%>" to <li>

and :remote => true to the link.