Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

Catch position of event jquery

  • 1 èsì
  • 1 ní ìṣòro yìí
  • 3 views
  • Èsì tí ó kẹ́hìn lọ́wọ́ David Tenser

more options

Hello,

I am writing functionality for a web application and I am making use of jquery. For some reason when I pass e as a function parameter the e.pageX or e.clientX return undefined. I have also tried using the global event variable but after reading, I learnt that Firefox does not store events in that way.

I would appreciate any guidance towards the right direction.

Kind regards, Erika

Hello, I am writing functionality for a web application and I am making use of jquery. For some reason when I pass e as a function parameter the e.pageX or e.clientX return undefined. I have also tried using the global event variable but after reading, I learnt that Firefox does not store events in that way. I would appreciate any guidance towards the right direction. Kind regards, Erika

All Replies (1)

more options

Hi Erika,

Unfortunately support.mozilla.org isn't the place to ask web developer questions because we don't have any experts of that here -- we're only specialized in user issues with Firefox. :)

Your best bet is probably to do a web search for this problem, or check out the developer resources on MDN: https://developer.mozilla.org/en-US/