Maurice O'Prey wrote:
> All
>
> I have to admit defeat on this one and will gladly acknowledge anyone
> who solves it as a genius!

Maurice,

OK, here's what I think is happening. You have a <body> tag (curiously
inside your <form>) with an onkeydown attibute of shortcut(). You also
have several <input> tagswith onkeydown attributes of move_cursor($i).
move_cursor() calls shortcut(), so pressing a key in an input field will
execute both the <input> and <body> onkeydown actions. shortcut() will
be called twice, and the add_to_order button will be clicked twice by
JavaScript.

My apologies to others for all this nasty HTML and JavaScript stuff in a
Perl group.

Oh, and use 'here documents' like I said. And fix that <body> tag!

Rob





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to