Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8123811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T06:17:12+00:00 2026-06-06T06:17:12+00:00

Using jQuery 1.7.2. Tested with versions as old as 1.5.1. Same result. In FF

  • 0

Using jQuery 1.7.2. Tested with versions as old as 1.5.1. Same result.

In FF and IE less than 9 it works fine returning the expected jQuery object of DOM elements. However, in everything else it returns a jQuery object of jQuery objects of DOM elements. This screws with anything attempting to get the width or height since those functions in jQuery eventually expect the passed element to be a DOM element (I did a lot of tracing). Also, I have never encountered this problem before. This is the site where it all went wrong. I have not fixed the previous and next buttons yet if you would like to see it in action. It is supposed to call click() on the next playlist element. Doesn’t because of this issue.

The code is take from MediaElementJS.

t.controls = t.container.find('.mejs-controls');
t.layers = t.container.find('.mejs-layers');

The fix I eventually came up with.

if(!mf.isFirefox && !(/MSIE [876]/.test(navigator.userAgent))){
    t.controls = t.container.find('.mejs-controls').get(0);
    t.layers = t.container.find('.mejs-layers').get(0);
}else{
    t.controls = t.container.find('.mejs-controls');
    t.layers = t.container.find('.mejs-layers');
}

Now, why on God’s green earth is it being bad on the new browsers, except FF?

Here are the lines if you want to set-up break-points:

  • jquery+mep.js (used to have jQuery bundled in here, took it out for testing)
    • next: 4595
    • previous: 4600
  • jquery-1.7.2.js
    • jQuery.next(): 5582
    • jQuery.prev(): 5585
    • jQuery.nth(): 5666

UPDATE

Other pages seem unaffected; like http://www.commercialsonhold.com/messagesamples/aesthetics.htm. I am starting to think something else on the page is messing with jQuery. The site is Joomla! I often have trouble with MooTools on Joomla! sites, however, it is normally jQuery not working at all and not just one function acting aberrantly.

UPDATE

The jsFiddle: http://jsfiddle.net/h5ahY/4/

illustration of the jQuery object in a jQuery object

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T06:17:13+00:00Added an answer on June 6, 2026 at 6:17 am

    Found the issue. It was MooTools. I don’t know how and I don’t know why.

    Fixed by moving the jQuery include above the MooTools include and using jQuery instead of $ everywhere.

    Will get a jsFiddle up soon now that I know how to use it now.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using jQuery's dialog I came across the following quirk (tested in FF3): User selects
I'm using jQuery. This is my second post to make my old question more
I have an issue retrieving ajax data using jquery 1.3.2 / 1.4.2: It works
Have a script that using jquery validation. Tested on 2 Blackberry's and neither worked
I'm trying to write username validation using jquery, I'm using jmsajax plugin.I have tested
I discovered an issue with android emulator versions 2.1 and less; specifically, I tested
I am using jQuery Uploadify plug-in. It works great for what I'm doing, but
Using jQuery I want to bind an existing function to a button. I've been
Using jQuery I'm creating a basic 'tooltip' animation so that the tooltip will appear
Using JQuery it possible to clone a Div like this and change add a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.