On Oct 31, 8:20 pm, Jarkko Laine <[EMAIL PROTECTED]> wrote:
> Matt, could you elaborate a bit more?
>
> > $$('#container_'+boxID+' span');
>
> actually looks to be fine. What are you getting with it and what are
> you expecting?
>
> //jarkko
I'm getting the literal string, $$('#container_'+boxID+' span'), with
the plus symbols and everything. I'm expecting something like so:
function foo(boxID)
{
var bar = $$('#container_'+boxID+' span');
alert("bar");
}
<a href="#" onclick="foo("24");">click here</a>
// returns "$$('#container_24 span')";
Kangax: that method won't work for me, it's pulling stuff out of a
database so the id numbers don't increment in any kind of order.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---