Hello, i have a Form with:
2 ajaxButton
and a few input[type=text]
When i hit enter on an input[type=text] i get one of the button being "clicked" (i don't know what sort of javascript event it is).
The normal behavior is the submit button of the form being "clicked".
If i add function(event) { event.preventDefault(); } as event listener to one of the input[type=text], the form isn't submitted, the button isn't clicked as expected.
The button being triggered is always the same "tags", changing it's id don't do anything.
Changing the order of declaration of ajaxButton don't do anything, the order in the html also.
I have no more ideas.
Thank you for helping the code is bellow.
html:
https://gist.github.com/3054622snippet:
https://gist.github.com/3054627