pointer "this" in url ?

C

Chris

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>
 
E

Evertjan.

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'...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,778
Messages
2,569,605
Members
45,238
Latest member
Top CryptoPodcasts

Latest Threads

Top