OnSuccess of JQ navigate user to another page
<p>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</p>

<pre><code> function Onsuccess(CommentSuccessfullyUpdated) {
        if (CommentSuccessfullyUpdated == "TRUE") {
            window.location = Invoices/List.aspx //My attempt, but unsuccessful
        }
        else {
            alert("Invoice/Details- Error: Removing Invoice.");
        }
    }
</code></pre>

<p>I think its something to do with window.location but this is as far as I have got.....
Any ideas?</p>
