This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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/