By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,719 Members | 1,445 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,719 IT Pros & Developers. It's quick & easy.

window.location with target

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
*** 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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.