"Thanks for that but like most things in the prototype documentation,
it
lacks the type of clarity that I can understand. "
Nice way to get help... "Your docs suck so just spoon feed me the
answer"
The answer to your initial approach is an issue with basic javascript
string behavior and was naile
The fundamental thing you need to do is _simplify_, divide and
conquer. Is it the XML stuff that isn't working, or is it the radio
button stuff that isn't working? Walk through with a debugger, etc.
The `$$` of this is not the problem barring some strange thing, you'll
need to look elsewhere.
--
Morning TJ!
I know it SHOULD work... I'm just saying it didnt.
works:
// set radio button for type
selectThis = {selectID: 'type', selectValue:
transport.responseXML.getElementsByTagName('type')[0].firstChild.nodeValue
};
$$(radioTemplate.evaluate(selectThis))[0].writeAttribute("check
Hi,
> David, although your suggestion doesn't throw any errors, it doesnt work
> either... kinda wierd as I thought it would...
It does work, barring there being something wrong somewhere else:
http://jsbin.com/elota3
The problem with your original code was as as Jonathan said, you were
passing