Multiple handlers on same control
- Alexey Babin
- Posts: 23
- Joined: Wed May 11, 2016
- Contact:
What happens if I bind two event handlers to the same event for the same element?
For example:
fd.field('FieldName').click(.../*Busines logic code*/...);
fd.field('FieldName').click(.../*a.e. validation*/...);
Does the last handler "win", or will both handlers be run?
For example:
fd.field('FieldName').click(.../*Busines logic code*/...);
fd.field('FieldName').click(.../*a.e. validation*/...);
Does the last handler "win", or will both handlers be run?
-
- Information
-
Who is online
Users browsing this forum: No registered users and 13 guests