Actually, there's no need to guess.
You should use Drupal behaviors
Drupal.behaviors.yourFunctionName = {
attach:function (context, settings) {
// Your code goes here....
}
}
This will give you access to the settings' ajax property,
Drupal.behaviors.yourFunctionName = {
attach:function (context, settings) {
console.log(settings.ajax);
}
}
Depending on your configuration, you should see a list of triggering elements, with various properties such as the name of the callback function, the selector's id as well as the name of the triggering event.
You can then use the relevant information to trigger your event.
// $(selector).trigger(eventName);
// for example...
$('#edit-product-id-15', context ).trigger('change');