I'm working on a page which has two kind of forms such as "new" and "existing". Both are having same form fields. For "new" form i have created on <div> tag, inside the tag i'm displaying all the required for the "new" form and putting them invisible using display=none property. Now i'm using autocomplete using jQuery UI. For "new" form its working fine too. Now the problem is that i'm displaying the "existing" form using another page loading. jQuery UI is not working here in "existing" form which i'm displaying using loading another page.

Now i have changed the names of the form fields in "existing" form and then also not working. Please help on this.