Reply to set link parameter from selection

Your name:

Reply:


Posted by quickcur on 01/09/06 05:19

Hi, I have a page with the following code.

<input type=button value="Show"
onclick="location.href='my.do?para=XXXX'">
....
<form>
....
</form>

<select name="myselect">
<option value=1>1
<option vlaue=2>2
<option value=3>3
....
</select>

When user clicks the Show button, I would like to replace the XXX by
the
selected number from the selection "myselect". Since there is a form
between <input button> and the selection, I can not use form for the
Show button.

How can I write the onclick="location.href='my.do?para=XXXX'"?

Thanks,

qq

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация