Send query with ajax search