Pregunta de entrevista de Crunchyroll

How can you identify a XSS attack on a submit button?