Re: multiple dynamic text fields [message #177318 is a reply to message #177317] |
Thu, 08 March 2012 20:46 |
Jerry Stuckle
Messages: 2598 Registered: September 2010
Karma:
|
Senior Member |
|
|
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(at)attglobal(dot)net
==================
|
|
|