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

Posted by Shelly on 10/18/06 21:55

Good point. Let me think on it.

"Rik" <luiheidsgoeroe@hotmail.com> wrote in message
news:234f9$45368d15$8259c69c$28462@news1.tudelft.nl...
> Shelly wrote:
>> Not a problem getting the script, but I fixed it a different way. I
>> had posted this to this group and to alt.comp.lang.php. Gleep
>> answered there and that led me in the right track. What I did was
>> use javascript with onchange in formA's drop-=down list to set a
>> hidden variable in formB. Then when I hit a submit button in formB, I
>> read the value of that hidden variable. it works like a charm -- and
>> I can use that to do other things as well in other code.
>>
>> Thank you four your help and interest.
>
> My main problem with that solution:
> If in the single form solution I gave javascript doesn't kick in/is
> disabled, everything can work as planned, only in the same window instead
> of a new one.
>
> In the 2 form solution, if javascript is disabled, you'll get a new window
> with an error, because is lacks data.
> --
> Grtz,
>
> Rik Wasmus
>
>

 

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

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