Crunchyroll interview question

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