ajax form add trip ID

works but only for one photo search. If more photos it doesn't work