Print Page | Close Window

Location open

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=8451
Printed Date: 30 March 2026 at 7:44pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Location open
Posted By: alex21
Subject: Location open
Date Posted: 31 December 2003 at 4:23am

<script type="text/javascript">
function locate()
{
location=" http://www.w3schools.com/ - http://www "
}
</script>

How use terget=_self in this script. I need to open window in self frame!

Please help some1




Replies:
Posted By: dj air
Date Posted: 31 December 2003 at 6:14pm

<script type="text/javascript">
function locate()
{
self.location.href =" http://www - http://www "
}
</script>

i think that should work .. else you can change the self to window then it will open in the existing window



Posted By: alex21
Date Posted: 02 January 2004 at 6:59pm
thanks



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net