Hi
I'm having some problems with Prototype.
It seems Prototype is unable to handle multiple submit buttons on one page.
See this page:
http://ajax.c-tilsted.dk/TwobuttonsNoAjax.aspx
Simple functionality, and working.
Same page, but with Ajax:
http://ajax.c-tilsted.dk/Twobuttons.aspx
Not working. It always fires the event on button2.
See this:
http://ajax.c-tilsted.dk/Onebutton.aspx
Here I just have one button with Ajax, and it works.
So the Ajax works, when there is only one button on the page.
Se org. source here:
http://ajax.c-tilsted.dk/Twobuttons.pdf
http://ajax.c-tilsted.dk/Onebutton.pdf
Does anybody know why the page with two buttons and ajax dosen’t work?
Button1 fires the wrong event in the codebehind.
Thank you.
|