|
Posted by Schraalhans Keukenmeester on 04/27/07 09:02
Man-wai Chang wrote:
> <form name="frmTest" type="submit" method="post">
> <input type="textbox" name="txtA" size=10 value="">
> <select name="cboB" value="">
> <option value="1">1
> <option value="2">1
> </select>
> <input type="submit" name="cmdSave">
> </form>
>
> Normally when I click cmdSave, the form will be submitted, with cmdSave
> set.
>
> Now I need to open a popup for selecting a value into txtA and then
> submit the form without setting cmdSave, so that I could re-populate the
> options for cboB. How should I do it? I don't plan to use AJAX for the
> moment, but old techniques.
>
What's the hype with popups? I hate the friggin' things. I fail to see
(exceptions excluded) the benefit of having a popup. If you must, don't
look at PHP for it. Javascript is what you're after.
Is there a project you are working on making you ask a load of questions
about every day? The majority of your posts could simply be answered by:
use google and/or RTFM.
It's quite easy to lose sympathy/support here, it's getting a bit
annoying to see people bypassing the normal route: doing their own
homework and search the net or a manual for answers before falling back
on usenet.
Maybe a good primer on PHP is what you really need most right now.
Don't mean to be rude, but please don't abuse the group just because
it's easy to.
Rgds
Sh.
[Back to original message]
|