dont think you can.  you may have to build your own array looping over the
tab-content items

  _____  

From: Ayan Debnath [mailto:[email protected]] 
Sent: Monday, 13 July 2009 3:22 PM
To: [email protected]
Subject: [Moo] HELP, how to catch these elements ?


Hello Friends,

Please help me to get these elements using MOOTOOLS 1.11 code as my template
uses this version.

I have DIVs (multiple places) with CLASS="tab-page".
In each such DIVs, there is one DIV ID="tab-content".
Under that DIV, there is only ONE TABLE (the class and id of these tables
differs, so can't directly get them).

I need to get these TABLEs only. All in one (array of table elements).
What will be the CODE ?


 var el = .....



Sample Code:


<div class="tab-page" id="cbtab2"><h2 class="tab">Additional
Info</h2><script type="text/javascript">
  tabPanecb_middle.addTabPage( document.getElementById( "cbtab2" )
);</script>
            <div class="tab-content">
            <table class="cbFields" cellpadding="0" cellspacing="0"
style="width:95%">
                <tr class="sectiontableentry1" id="cbfr_30">
                    <td class="titleCell">Website:</td>
                    <td colspan="1" class="fieldCell"><a
href="http://times-of-earth.blogspot.com";
target="_blank">times-of-earth.blogspot.com</a></td>

                </tr>
            </table>
            </div><!-- tab-content -->
</div><!-- tab-page -->


Thank your for your kind help and time.

regards
-- 
Ayan Debnath
INDIA

Reply via email to