ajax click event for link

Hi! Please advice, is it possible to run ajax function, clicking a link? This code is working with different types(e.g. textfield), but not with link: $form[‘client’][‘lastways’][‘m1’]=array ( ‘#type’ => ‘link’, ‘#ajax’ => array( ‘callback’ => ‘ozaddinv_marshrut_callback’, ‘method’ => ‘replace’, ‘effect’ => ‘none’, ‘event’ => ‘click’,[…]