How can I have one button execute two actions?
<p>Is it possible to have the one “Save” button execute these two actions?</p>

<p>Action 1:</p>

<pre><code>&lt;td&gt;
&lt;?php
    $target = TRoute::_("index.php?option=com_adsmanager&amp;task=save"); 
    if ($this-&gt;nbcats == 1)
    {
        $this-&gt;displaySingleCatChooser(@$this-&gt;content-&gt;id,$this-&gt;conf,"com_adsmanager",$this-&gt;cats,$this-&gt;catid);
    }
?&gt;
&lt;/table&gt;
</code></pre>

<p>Action 2:</p>

<pre><code>&lt;input type="button" onclick="countDown(this.form)" value="SAVE"&gt;&lt;p&gt;
</code></pre>

<p>Thanks in advance.</p>
