Hello,
I'm having a little issue with using selectors and I hope somebody can
help please:
What I'm basically trying to do is to get all anchors on a page:
var anchors = container.getElements('a[name~='+name+']')
if name is e.g. "Amortization" the code works well
if name is e.g. "New York Stock Exchange", I won't get anything back -
I've tried all the examples even in Aaron's book and also tried to put
the whole string in double quotes but that didn't help either.
I must be missing something here.
thank you in advance for your help.