Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #8038
| From | Pasquale <pasquale@net.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Anyone can help me? |
| Date | 2011-11-05 15:04 +0100 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <mn.2b887dbbebcf5609.92774@Kiss-the-Sphinx> (permalink) |
anyone can help me?
--
following this script:
---------------------------------
<script type="text/javascript">
function mount()
{
var s="http://??????/???????=XXXX";
top.frames['right'].location.href=s.replace(/XXXX/i,document.forms[0].elements['field'].value);
}
</script>
------------------------------
I've created a page with an Iframe [right] and a <form> (cascade links [with
onchange="mount()] that automatically open the link in the frame [right] every
time I click one link.
But I would like it to be opened in a new page and I think I should change the
"top.frames ['right']".
I think with a "window.open ['_blank']" but does not work.
I'm a beginner on Javascript. Anyone can help me?
Thanks in advance
Pasquale.
Back to comp.lang.javascript | Previous | Next — Next in thread | Find similar | Unroll thread
Anyone can help me? Pasquale <pasquale@net.com> - 2011-11-05 15:04 +0100
Re: Anyone can help me? Luuk <Luuk@invalid.lan> - 2011-11-05 15:15 +0100
Re: Anyone can help me? Pasquale <pasquale@net.com> - 2011-11-05 15:58 +0100
csiph-web