ajax jquery for state click first try
for main_view ajax