You are here: Re: Two forms « PHP Programming Language « IT news, forums, messages
Re: Two forms

Posted by Shelly on 10/18/06 11:01

The solution that worked (thanks to Gleep) was to add:

onchange="window.document.formB.theListH.value=(this.options[this.selectedIndex].text)"

to a change in the drop-down list (theList in formA). I set theListH as a
hidden variable in the other form (formB).

I test on all the buttons and the ones that were from formB I use the value
from theListH and the ones from the first form I use the value from theList.
Of course, I initially set theListH to be the first one on the drop-down
list.

Shelly

 

Navigation:

[Reply to this 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

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