Title: [OT???] JavaScript WDDX RecordSet

(OT or not OT?)

I have these html files all having a WddxRecordset in it, I can dynamically load them all from the parent page (through iFrame) when I need to, but how do I work with the WddxRecordset from the parent page?

Can't seem to get my around it...

Sample content of dynamically loaded file
<script language='_javascript_' src=''></script><script>qSuburb = new WddxRecordset();
col0 = new Array();
col0[0] = 39;
col0[1] = 40;
..........................

with ( document.frmCountry.suburbID )
{
        options.length = 0;
        for (var i = 0; i < qSuburb.getRowCount(); i++)
        {
                if ( qSuburb.getField( i, 'fkIDState' ) == obj.value )
                {
                        newOption = new Option;
                        newOption.value = qSuburb.getField(i, "pkIDSuburb");
                        newOption.text = qSuburb.getField(i, "suburbName");
                        options[options.length] = newOption;
                }
        }
}

Like frames['source'].qSuburb.getRowCount() doesn't work..

TIA
Taco Fleur
07 3535 5072

Tell me and I will forget
Show me and I will remember
Teach me and I will learn

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to