I'm absolutely lost and have no idea why this is happening.
I have a master page where the form resides. I set an onsubmit attribute to call a method which sets a variable to true
Expand|Select|Wrap|Line Numbers
- <form id="form1" runat="server" onsubmit="setVariable();">
- the function I call is :
- function setVariable()
- {
- aVariable= true;// aVariable is a global var in the js file
- }
The serverside events of button click are not being called.
When I remove the onsubmit attribute all works fine.
Can anyone help
Thanks
Luk