Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #5135

Re: multiple dynamic text fields

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: multiple dynamic text fields
Date 2012-03-08 15:46 -0500
Organization A noiseless patient Spider
Message-ID <jjb5qv$b2p$1@dont-email.me> (permalink)
References <jit6gs$fe8$1@speranza.aioe.org> <jit8i7$833$1@dont-email.me> <jjat42$a5t$2@speranza.aioe.org>

Show all headers | View raw


On 3/8/2012 1:17 PM, hipa wrote:
> Op Sat, 03 Mar 2012 09:07:01 -0500, schreef Jerry Stuckle:
>
>> On 3/3/2012 8:32 AM, hipa wrote:
>>> Hi
>>>
>>> I have a page with an autocomplete text field. This works fine. But
>>> what I actually want is adding more text fields with the same
>>> autocomplete options. It must be an orderpage with multiple order
>>> lines. If I choose option 2 from the drop down, 2 text fields are
>>> chown. That is ok, but the autocomplete doesn't work. But if I manually
>>> type "getuser.php?q=2" in a browser I get a page with 2 text boxes
>>> where the autocomplete does work. I don't think I need to show here my
>>> complete autocomplete code because I think this is not the point here.
>>> When text boxes are generated dynamically is there an underlying id or
>>> something given to it? Hope someone can help.
>>>
>> <irrelevant code snipped>
>>
>> You're in the wrong newsgroup.  Autocomplete is browser-side.  PHP is
>> server side.  Try comp.lang.javascript to start.
>
> Hi
>
> My autocomplete isn't browser side. It gets its values from a postgres DB
> on the server. See my post in the group you recommended.

It may get the data from a database, but the request must still come 
from the browser - which is what your AJAX code is doing.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

multiple dynamic text fields hipa <hipa.invalid@telenet.be> - 2012-03-03 13:32 +0000
  Re: multiple dynamic text fields Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-03 09:07 -0500
    Re: multiple dynamic text fields hipa <hipa.invalid@telenet.be> - 2012-03-08 18:17 +0000
      Re: multiple dynamic text fields Jerry Stuckle <jstucklex@attglobal.net> - 2012-03-08 15:46 -0500

csiph-web