I have some javascript to direct the page to a new url but I get directed to a www.myurl.com/undefined instead.
This is what I have, not sure what is wrong. I have tried also window.location
if (r == true) {
window.location.href = ('http://www.myurl.com/pubs_delete.php?=id'.a_href)
};
Thank you for any pointers
+for concatenation, not.