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. Jan 29 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
    Jan 29 at 17:50

1 Answer 1


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


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.