You can use the javascript method name window.location to redirect to the other page in case you are just redirecting from one page to the other.
Quote:
function temp() {
window.location("TS.aspx?PPStartDate="+document.getElementById("hdnPP").Value)
}