0

是否可以让一个“保存”按钮执行这两个操作?

行动一:

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

行动二:

<input type="button" onclick="countDown(this.form)" value="SAVE"><p>

提前致谢。

4

0 回答 0