On Oct 26, 12:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> i use this structure
>
>                         $o .= "<div id=\"entry\" class=\"entry\"
> onclick=\"setObjBackgroundColor(this,'#ffffff');;ui.copyObject(this,'EntryList','TargetList','noduplicate');\"
> onMouseOver=\"setObjBackgroundColor(this,'#cccccc');\"
> onMouseOut=\"setObjBackgroundColor(this,'#ffffff');\" >";
>                         $o .= "            <div id=\"entrybox\" 
> class=\"RowHead\">";
>                         $o .= "                    <div id=\"RECHNUNGID\" 
> style=\"float:left;width:15%\">";
>                         $o .= "                            ".$rs->RECHNUNGID;
>                         $o .= "                    </div>";
>
> and use this code to get the RECHNUNGID
>
>         copyObject: function(element,sourceid,targetid,modus) {
>                 if(modus == 'noduplicate')
>                         {
>
>                         }
>                 $(targetid).insert(element.innerHTML);
>                 alert($(sourceid).select('RECHNUNGID').innerHTML);

$(sourceid).down('#RECHNUNGID').innerHTML;

>                 },      
>
> but i always get undefined as result  but their must be a number:(

[snip]

--
kangax
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to