i recommend the following
a) choose a doctype
b) get it to validate
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.starcitygames.com%2Fpolls%2Fpoll_form.php%3Fpoll%3D5
in poll_vote.js you do
var poll_submitted = this.poll_submitted.bindAsEventListener(this);
$$('form').each(
function(node){
var matches = node.id.match(/poll/g)
if (matches !== null) {
node.onsubmit = poll_submitted;
//alert('Found a node ' + node.id);
}
}
);
}
yet there is no reference to 'form' other than the form tag in your html
I'll stop now since Justin just made a rather detailed response as well that
includes pretty much the same things i was going to bring up.
On Mon, Oct 13, 2008 at 2:56 PM, The Ferrett <[EMAIL PROTECTED]> wrote:
>
> Not to bump unnecessarily, but I've been complaining about this
> problem in my blog and have been told repeatedly that this erratic
> behavior is typical of all the flaws of Prototype, with jQuery cited
> (four times!) as being WAY better and easier to use. I'd like to
> think that the "same script, four results" isn't just bad programming
> in Prototype's part - but currently, with code that as far as I can
> see SHOULD work according to the docs, I can't exactly rebut them.
>
> I assume it's something I'm doing wrong, but after two days and no
> responses, I'm not sure where else I'd turn. Could someone please
> help me figure out why this is going so awry?
>
> Thanks in advance,
> T.F.
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---