Hi,
I'm wondering if this is possible...I'm using JS,struts and Java by the way...
I've got a call that goes to a JS function, the function takes a variable called url.
At the end of the script it does this:
What that does is redirect it to the url site, right?
Well, I'm wondering if I can do something like this:
That is, redirect it twice so to say...
JS is not my strongest skill, this may be way out there but I think it would solve somethings for me....
Any help is appreciated.
/MK
I'm wondering if this is possible...I'm using JS,struts and Java by the way...
I've got a call that goes to a JS function, the function takes a variable called url.
At the end of the script it does this:
Code:
self.location.href = url;
Well, I'm wondering if I can do something like this:
Code:
self.location.href = url; self.location.href = "myUrl";
JS is not my strongest skill, this may be way out there but I think it would solve somethings for me....
Any help is appreciated.
/MK
Comment