I think you probably want to use getAttribute().

I'd also recommend using something like jQuery to simplify your code (and
help ensure cross-browser compatibility).

-- 
Kevin


On 1/31/08 1:42 PM, in article [EMAIL PROTECTED],
"Ken in nashua" <[EMAIL PROTECTED]> wrote:

> 
> Folks,
>  
> I am using tapestry as follows...
>  
> <div jwcid="[EMAIL PROTECTED]">
>     <img jwcid="[EMAIL PROTECTED]"
>         model="ognl:currentObject"
>         image="ognl:photoAsset"
>         alt="ognl:currentObject.photo.fileName"
>         title="ognl:currentObject.photo.fileName" width="160"
>         height="120"
>         transparentText="currentObject.transparentText"
>         listSize="ognl:collection.size"
>     />
> </div> 
>  
> In my @Script I have...
>  
> var imageDom = 
>     document.forms[0].document.getElementById("Image_" + i);
>  
> all this works...
>  
> But How do I access transparentText within the DOM?
>  
> 3 *** stars for perso who gets this right
>  
> imageDom.transparentText.valueOf();  ??? failsBest regards
> Ken in nashua
> _________________________________________________________________
> Connect and share in new ways with Windows Live.
> http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to