Ajax function for Sell page