enter image description here

I don't have a lot of knowledge about xss so im kinda confused, why this is not popping up an alert box?

  • 2
    Please don't post text as images. Also, please describe what you are trying to achieve in the first place and what you expect to happen. Commented Jan 29, 2023 at 12:37
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Commented Jan 29, 2023 at 17:50

1 Answer 1


The input is hidden. It will never gain the focus and therefore the onfocus handler will never fire.


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .