Evening All, I have a Jquery function running from my aspx page (When a button is clicked). It runs a [webmethod] which if successful returns to the 'OnSuccess' function. From here I want to navigate the user to: /Project/Invoices/List.aspx
function Onsuccess(CommentSuccessfullyUpdated) {
if (CommentSuccessfullyUpdated == "TRUE") {
window.location = Invoices/List.aspx //My attempt, but unsuccessful
}
else {
alert("Invoice/Details- Error: Removing Invoice.");
}
}
I think its something to do with window.location but this is as far as I have got..... Any ideas?