I Have the following code i am trying to redirect the page to the same page but with a int on the link but it keeps coming up with page error.
var done_update = '&updated=1';
window.location = window.location.href.done_update;
Thank you,
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
String concatenation in JavaScript is done using the
+operator, not.as in other languages (Perl, PHP…)locationis a global variable, there is no need to specifywindow.location