Just a stab in the dark but did you remember to surround your tbl#x# with
cfoutputs's?

larry

> -----Original Message-----
> From: Tangorre, Michael [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 09, 2004 2:19 PM
> To: CF-Community
> Subject: JS Question
>
>
> Ok, I posted this over at CF-TALK but no luck...
>  
> I keep getting an object expected error... but I thought I
> was passing the object in!
>  
> <cfloop from="1" to="5" index="x">
>  
> <a href="" #x#</a>
>  
> <table id="tbl#x#">...</table>
>  
> </cfloop>
>  
> Here is my JS function...
>  
> toggleDrillDown(tblObj)
> {
>  if(document.getElementById(tblObj).style.display == 'block')
>     document.getElementById(tblObj).style.display = 'inline';  else
>     document.getElementById(tblObj).style.display = 'block'; }
>  
> Can someone explain how I passin the "object". tbl#x# does
> not work. Nor does document.getElementById(tbl#x#).
>  
> Thanks!
>  
> Mike
>  
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to