How to use ajax in magento.