473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

window.location with target

ras
Hi,

I've the following piece of code use window.location to open a new window an
pas them some paramenter. I'd like to open the new windows in a frame using
a javascript. how can I do that.
Pls. help.

<input class="nxtbutton" type="button" id="NXT_FormLink" value="<?php echo
$KT_language['detail'];?>"

onClick="window.location='auftragedit.php?KT_id_ku nde=<?php echo
$HTTP_GET_VARS['KT_id_kunde']; ?>&id_auftrag=<?php echo
urlencode($auftrag->Fields("id_auftrag"))?>&KT_back=<?php echo
urlencode($HTTP_SERVER_VARS['PHP_SELF'].'?'.@$HTTP_SERVER_VARS['QUERY_STRING
']); ?>';">

Xaver
Jul 17 '05 #1
2 16827
*** ras wrote/escribió (Thu, 6 Nov 2003 18:48:28 +0100):
I've the following piece of code use window.location to open a new window an
pas them some paramenter. I'd like to open the new windows in a frame using
a javascript. how can I do that.


top.frames['target_frame'].location
--
--
-- Álvaro G. Vicario - Burgos, Spain
--
Jul 17 '05 #2
On Thu, 6 Nov 2003 18:48:28 +0100, "ras" <ja****@t-online.de> wrote:
Hi,

I've the following piece of code use window.location to open a new window an
pas them some paramenter. I'd like to open the new windows in a frame using
a javascript. how can I do that.


Go and read about the document object model, Javascript and DHTML. The
existing reply about referring to the top of the DOM tree should give
you a huge headstart...

Jul 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: sentinel | last post by:
Hi all, I'm trying to reload a frame from a pop-up, but really cannot figure this out. Within my index.htm file, I make a link to call a pop-up frame with a javascript function that calls the...
2
by: Samir Pandey | last post by:
Hello, I am using the following javascript code to open a new window. Somehow, IE always opens a new window. It doesn't open target url in the window name given. All i want is, if there is a...
14
by: Frances Del Rio | last post by:
I'm trying to open a url in a new window while pg loads (but NOT in a pop-up..) I need to do sthg like // while pg is loading.. window.location ='page.html' // but I need this to open in a...
8
by: Kim14 | last post by:
Help! I am trying to create a webpage and it would be obvious to anyone who reads my source code (it's a mess) that I created it using a template. I know almost nothing about webpages, but am...
3
by: Tim Streater | last post by:
I have, as it might be, this in a frame: <a href="mystuff.html">Click here</a> When I click the link, it loads mystuff.html into the frame, whereas what I want is to replace the whole window...
29
by: wayne | last post by:
Hey there... I'm having some problems passing url parameters with an open.window command. I'm not terribly familiar with java script but here is the code below. When executed it opens the...
5
by: Hemanth | last post by:
Hello there, I'm running a script that opens a popup window (which is basically a form with checkboxes and a submit button). When I click the submit button I want to run a PHP script and target...
4
by: Ryan | last post by:
Greetings, I would like to know if I can name my main browser window so that I can link back to it from a pop-up window. I know using <A HREF="url" TARGET="name"> will name the new window being...
5
by: JNariss | last post by:
Hello, Within a form I created I have placed links that users can click on to view information. I am trying to write a javascript code so it opens in a sized window but I can't seem to figure...
18
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.