View Full Version : How to open a link(with a function) in a new window?

01-01-2011, 04:23 PM
Hi guys, i hope u can help me. This is the link(and i have a function called check_group):

<a href="javascript:viod(0)" onclick="check_group('<?php echo $codart ?>','<?php echo $codfam ?>')"><?php echo $gname?></a>

I have a function called check group.

I want to open that link in a new window.