Crunchyroll Interview Question

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