candy001 — 2013-07-01T11:28:14-04:00 — #1
Recently I learned to write a website.I Wanted to relocation one of the pages from my website to my company's page .But there was an error that confused me.So I search for my savior here .
There are my codes
but it covers the current page. I want to how to correct it?
can you tell me?
pullo — 2013-07-04T04:22:36-04:00 — #2
Welcome to the forums
window.location.href is a property that will tell you the current URL location of the browser. Setting the property to something different will redirect the page.
So what is it exactly that you are trying to achieve?
Could you be a little more specific?
candy001 — 2013-07-04T04:45:43-04:00 — #3
actually the window. location. href="<snip>", so the above is wrong
pullo — 2013-07-04T05:40:08-04:00 — #4
Ok, so what is your actual problem?
candy001 — 2013-07-05T02:19:34-04:00 — #5
I did see it, but I still can't find a method to build my website <snip> I hope to do it better in future.
pullo — 2013-07-05T02:46:38-04:00 — #6
I'm afraid you've failed to specify what your issue is and unless you do that, there's no way we can help you.