create an ajax submit for trips