This content has been marked as final. Show 4 replies
it doesn't work.
If i do getURL("aboutUs.html",_self) it opens the link in the same window but different tab
If i do getURL('aboutUs.html","_self") nothing happens.
I need to fix this bug. Is there something that i'm doing wrong.
whats the difference of putting self within quotes and qithout quotes. I seen examples on the internet
There's nothing wrong with that line of code, but that's the only code you are providing, so there's no telling if you're doing something else wrong.
The correct usage would be with the quotes. The Window parameter is a string, so quotes are appropriate.
You need to try this from your server, not locally. You will get inconsistent results when attepting most net calls locally. Throw you files up on a server and try them. They'll work.