Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

Catch position of event jquery

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/