Form elements or links no longer works with events
Posted: Tue Mar 22, 2011 8:41 am
When you implement an event for an object then this will override the default behavior for that event.
For example, if you implement the 'onclick' event for a submit button, then it will no longer execute the 'onsubmit' action, because it assumes that you want to implement the action yourself.
If you still want to enable default behavior for an event then follow these steps:
1) Add the same event again and select action -> run javascript.
2) In the JavaScript field enter:
For example, if you implement the 'onclick' event for a submit button, then it will no longer execute the 'onsubmit' action, because it assumes that you want to implement the action yourself.
If you still want to enable default behavior for an event then follow these steps:
1) Add the same event again and select action -> run javascript.
2) In the JavaScript field enter:
Code: Select all
return true;