
This will my first implementation of jQuery in Dynamics Online. I have requirement that anytime an activity(Task) is completed in the activity pane, the user should receive and alert.
Eg: When a user clicks the complete button on a TASK in the activity pane they should recieve an alert.
Here is my sample code so far seem to not be getting anywhere.
var jQ = jQuery.noConflict();
jQ(document).ready(function() {
jQ(".markcomplete").click(function () {
alert("Thank You");
});
});
Any help would be appreciated, thanks in advance.
*This post is locked for comments
I have the same question (0)Hi,
You should not use jquery to register dom events like this because it is unsupported.
Instead use an onsave event and use getSaveMode -msdn.microsoft.com/.../gg509060.aspx
Hope this answers your question.