I have a JS file , and I used innerHTML to make a link , and I passed 2 parameters. the code is :
innerHTML = "<a href='http://tamarp.someee.com/test.php?code="+row[cur].name+"&name="+row[cur].real+"'>ADD</a>";
Its works fine ,but I want this link to be in a popup window. what should I add here?
Thanks
Add target="_blank"
.
innerHTML = "<a href='http://tamarp.someee.com/test.php?code="+row[cur].name+"&name="+row[cur].real+"' target='_blank'>ADD</a>";