Posted by ft310 on 07/13/05 16:50
"Hilarion" <hilarion@SPAM.op.SMIECI.pl> wrote in message
news:db2n2p$9g6$1@news.onet.pl...
> ft310 wrote:
> > I gather from your message that nothing is going to happen unless I
> > logically engage the submit function.
> >
> > Is there no why to do this otherwise -- I am surprised the exchange of
hthl
> > variables and php variable is so circuitous
>
>
> Remember that PHP works on server side and all the data the user types
> into HTML form is on the client side (in the web browser). The only way
> the data can get to the PHP on the server is by HTTP request (which can
> be eg. by clicking URL containing parameters in the browser, by
> submiting a form or by the cookies stored by the browser which are
> send also sent with the two first situations).
> If you want your HTML form to submit automatically, then you'll have
> to use JavaScript, but I do not recommend it (specially when it's
> about text fields) cause not all users like when the webpage reloads
> itself without their explicit request.
> You can also use JavaScript to do HTTP request in background, but
> presenting results from such actions is a bit complicated (and it's
> not something to discuss on this group).
>
>
> Hilarion
Upon reflection, I realized a round trip was necessary. This led to the
conclusion Users might object to this round trip -- if it was obvious.
I already have javascript working in this application but I'm not looking
forward to going thought Quality Assurance.
I agree this is a lengthy topic -- could you provide reading links.
Thanks for your time.
Frank
tooheys@fullchannel.net
[Back to original message]
|