added ajax for selected category value