: I have an input box "product" besides it there is an add input
: button which adds another input box product upon clicking.This array
: of input boxes I have created is through
: document.createElement('input').
:
: My autocomplete is working for the initial input box....now when I
: click add Input button for the generated box also the autocomplete
: shld work...how do I make it work??
:
:
PS:Autocomplete script is working so I didnt post it here.... I
: just want it to make it working dynamically created i/p boxes
:
Not knowing the browser ur using, here is the problem in major browser
i= (b) ? "input" : "<input type=text>";
var ri=document.createElement(i);
var r=document.Form.appendChild(ri);
then use the variable r as the dom instantiated object to set attributes and what-not
PS stay away from those tables, but if you must; I have code for that too
WHAT you;see_is_what=you.get;
-Russ aka DangeRuss