Click function in addition to bind actions to elements, it can also be used for the simplest task, to trigger a simple click event.
The trigger of a click can be very useful, specially when toggling elements after an operations has been finished or simply to trigger further actions that a simple trigger can save you from having to rewrite an entire different section.
The trigger is fire programmatically, using DOM. Not simply calling, click().
Examples
Lets assume there is a link with the id of "link1", to trigger a click on that element is fairly simple.PHP
<?php
$ajax->click('link1');
?>