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 6231475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T09:56:30+00:00 2026-05-24T09:56:30+00:00

Only accessible id right now is dialog1. Given that information how do I traverse

  • 0

Only accessible id right now is “dialog1”. Given that information how do I traverse down to get the <object classid>?

I just realised that i’ve to do this with Mootools as the rest of the script is written in it. I’m completely new to Mootools thou’

$(‘#dialog1’).children(‘NOLOCALIZATION’).children(‘object’).attr(‘classid’); seems to work for me. I’m actually using MooTools. How do I use this jQuery without conflicting?

<ul>
<li>
    <a href="#dialog1" rel="vidbox" title="video">watch video</a>

</li>
</ul>

<div id="dialog1" class="window dialog" style="width: 806px; height:504px;">
    <NOLOCALIZATION>
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="806" height="504" id="http://www.youtube.com/watch?v=uhi5x7V3WXE">
        <param name="wmode" value="transparent" />
        <param name="movie" value="http://www.youtube.com/watch?v=uhi5x7V3WXE" />
        <param name="allowFullScreen" value="true" />
        <param name="allowscriptaccess" value="always" />
        <param name="FlashVars" value="width=806&height=504&dart_zone_url=&cms_id=AllBusiness&content_id=16009601&auto_start=1&auto_mute=1&playPreroll=0&playtremor=0"/>
    <object type="application/x-shockwave-flash" width="806" height="504" data="http://www.youtube.com/watch?v=uhi5x7V3WXE">
        <param name="wmode" value="transparent" />
        <param name="movie" value="http://www.youtube.com/watch?v=uhi5x7V3WXE" />
        <param name="allowFullScreen" value="true" />
        <param name="allowscriptaccess" value="always" />
        <param name="FlashVars" value="width=806&height=504&dart_zone_url=&auto_start=1&auto_mute=1&playPreroll=0&playtremor=0"/>
    </object>
    </object>
</NOLOCALIZATION>
</div>
  • 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-05-24T09:56:31+00:00Added an answer on May 24, 2026 at 9:56 am

    for mootools:

    document.getElements("a[rel=vidbox]").addEvents({
        click: function(e) {
            e.stop();
    
            var div = this.get("href").replace("#", "");
            var obj = $(div).getElement("object");
    
            // object may not be extended so normal getAttribute.
            var attr = obj.getAttribute("classid");
            alert(attr);
        }
    });
    

    http://jsfiddle.net/dimitar/XUyDU/

    notice that in IE6-IE8, mootools does NOT extend the OBJECT element, hence obj will NOT have the otherwise available .get() or any other Element.proto that mootools adds.

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

Sidebar

Related Questions

Given a file on a webserver (e.g., http://foo.com/bar.zip -> only accessible through HTTP), is
I want to make my php page only accessible from another page redirect and
I am creating few pages (including login page) which should only be accessible by
I want certain functions in my application to only be accessible if the current
I have an HTTP server which is in our internal network and accessible only
Is there a way to have a .NET assembly accessible for only authorized sources?
I've only just started using Kohana ( 3 hours ago), and so far it's
I recently discovered that a method in a derived class can only access the
A comment at one of my other questions got me thinking. Right now I
Should the WSDl only be accessible via the .svc?wsdl ? I have a service

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.