Hi,
how can i add ajaxSend and ajaxComplete events to link generated by CHtml::ajaxLink()?
Thanx!
Hi,
how can i add ajaxSend and ajaxComplete events to link generated by CHtml::ajaxLink()?
Thanx!
Hi qwerty,
You could try the following:
<?php
echo CHtml::ajaxLink(
'An ajax-Link',
'index.php?r=test/test',
array(
'beforeSend' => 'function(){alert("beforeSend event.");}',
'complete' => 'function(){alert("complete event.");}',
)
);
?>
greets ironic
I thought that I use only update or replace.
thanx, it works.