Added an ajax method for show all option