I have a pure javascript control that does not rely on jquery which needs to raise an event. The event needs to be able to be bound and consumed by client pages that use jquery and this control. When raising the event through pure javascript, jquery does not see it. Please see this: http://jsfiddle.net/w5who6fr/
$(function () {
$('#test').on('input', function () {
alert('event triggered');
});
});
// works
$('#test').trigger('input');
// does not work
document.getElementById('test').oninput();
<input id="test" />