|
Posted by Shelly on 10/18/06 21:59
For the time being, what I will do is test on a particular variable and if
it is not set, then I will header to an error page where I will display a
message that Javascript must be enabled. Long term, I'll make your solution
work.
"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]
|