How to use #ajax trigger_as?
No support for links, but for what its worth heres a working snippet that uses a select.

When the select changes it triggers the submit buttons callback.
Note, you still have to define the callback on the select box as ajax.inc assumes all ajax enabled elements have one.



&lt;?php

  $submit_name = 'product-submit-' . $node-&gt;nid;
  $form['product_id'] = array(
    '#type' =&gt; 'select',
    '#options' =&gt; $options,
    '#ajax' =&gt; array(
      'wrapper' =&gt; 'my-form-wrapper',
      'callback' =&gt; 'product_change_callback',
      'trigger_as' =&gt; array(
        'name' =&gt; $submit_name,
      ),
    ),
  );

  $form['submit'] = array(
    '#name' =&gt; $submit_name,
    '#type' =&gt; 'submit',
    '#value' =&gt; t('Submit'),
    '#ajax' =&gt; array(
      'callback' =&gt; 'product_change_callback',
    ),
  );
?&gt;