I looked at default/template/checkout/cart.html and found this code:
getItems() as $_item): ?>
To get the return URL as well what I did is:
In the Block
protected function getDeleteUrl($item)
{
$params = array(
'id'=>$item->getId(),
Mage_Core_Controller_Front_Action::PARAM_NAME_URL_ENCODED => Mage::helper('core')->urlEncode($this->getUrl('checkout/cart'))
);
return $this->getUrl('checkout/cart/delete', $params);
}
In the PHTML
getItems() as $_item): ?>
getDeleteUrl($_item) ?>