That would work if I was grepping through the source, but I'm trying
to pick this thing out of the DOM so I can hook onto it and add a
visible element near it. I can't seem to find a way to access it
there. Thanks for the suggestion, though.
Walter
On Apr 27, 2011, at 8:32 PM, kstubs wrote
Probably your best best is REGEX
result = subject.match(/<\?[a-zA-Z0-9 :;]*\?>/img);
result is an array of matches. So, result[0], result[1], and so on...
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group,
Is there a way to get a collection of ProceesingInstruction nodes using the
double-dollar or similar methods? What would you call these elements such that
they could be found?
Mine look like this:
and are scattered everywhere in the documents I'm working in.
I have tried a whole bunch of va