Funkcjonalność tej witryny będzie ograniczona w czasie konserwacji. Jeśli artykuł nie rozwiązuje twojego problemu i chcesz zadać pytanie, to nasza społeczność wsparcia jest dostępna na @FirefoxSupport na Twitterze i /r/firefox na Reddicie.

Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Więcej informacji

Catch position of event jquery

  • 1 odpowiedź
  • 1 osoba ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź od 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

Wszystkie odpowiedzi (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/