Change function not working for for fRecurrence
Hello,
I am trying to automatically set the end by date when the Recurrence field is checked. But I am stuck at the first step and I cannot get anything to fire when the Recurrence field is checked.
I have tried
fd.field('fRecurrence').change(function () {
alert('here');
});
and I have tried
$('input[id^=RecurrenceField]').click(function () {
alert('there');
});
neither seem to trigger the alert.
Can you tell me what I am missing?
I am trying to automatically set the end by date when the Recurrence field is checked. But I am stuck at the first step and I cannot get anything to fire when the Recurrence field is checked.
I have tried
fd.field('fRecurrence').change(function () {
alert('here');
});
and I have tried
$('input[id^=RecurrenceField]').click(function () {
alert('there');
});
neither seem to trigger the alert.
Can you tell me what I am missing?
Try this:
Code: Select all
fd.field('fRecurrence').control()._el().find('[title="Recurrence"] > input').click(function(){alert(this.checked);})
-
- Information
-
Who is online
Users browsing this forum: No registered users and 15 guests