469,936 Members | 2,486 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,936 developers. It's quick & easy.

pointer "this" in url ?

Morning,

This is my problem, I try to pass in url parameter yop.php the PID value,
computed in "select", but when I execute this script, I obtain "this.PID" in
all letters in URL instead of the number.
I research but I don't find,
Could you please help me?
Thanks,

This is an exemple of my source code:

<form action="javascript:var
win=window.open('http://www.yop.php?PID=this.PID&QT=1&M=70','popup',
'width=500, height=500, menubar=no, directories=no, scrollbars=yes,
status=no, resizable=no, location=no')">
<select name="PID" class="port_form_menu">
<option value="1">1</option>
<option value="2">3</option>
<option value="3">7</option>
</select>
<input name="submit" type="image"
src="common_function/img_common/ticketsurf.gif">
</form>

Sep 12 '05 #1
1 1437
Chris wrote on 12 sep 2005 in comp.lang.javascript:
Morning,

This is my problem, I try to pass in url parameter yop.php the PID
value, computed in "select", but when I execute this script, I obtain
"this.PID" in all letters in URL instead of the number.
I research but I don't find,
Could you please help me?
Thanks,

This is an exemple of my source code:

<form action="javascript:var
win=window.open('http://www.yop.php?PID=this.PID&QT=1&M=70','popup',
'width=500, height=500, menubar=no, directories=no, scrollbars=yes,
status=no, resizable=no, location=no')">
<select name="PID" class="port_form_menu">
<option value="1">1</option>
<option value="2">3</option>
<option value="3">7</option>
</select>
<input name="submit" type="image"
src="common_function/img_common/ticketsurf.gif">
</form>


skip the PID=this.PID&
action="javascript:window.open('http://www.yop.php?QT=1&M=70'...

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Sep 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by Ernst Murnleitner | last post: by
9 posts views Thread by aden | last post: by
7 posts views Thread by relient | last post: by
2 posts views Thread by RafaƂ Maj Raf256 | last post: by
8 posts views Thread by solarin | last post: by
10 posts views Thread by Angel Tsankov | last post: by
14 posts views Thread by Alexander Dong Back Kim | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.