I have several tables on my webpage. Say table 1, 2 and 3. On table 1, I create a link in a column by doing:
<td onclick=\"window.open('http://localhost/page1.php','title',)\"><a href=\"#\">%s</a> </td>
On table 3, I create another link in a column by doing:
<td onclick=\"window.open('http://localhost/page3.php','title',)\"><a href=\"#\">%s</a> </td>
If I click the link in table 1, it creates a new window containing page 1. If I don't close it and click the link in table 3, it will display the content in page 3. It seems two different links share that created window. How could I do in order to create a new window every time I click the different links?
Thanks.