error adding element with duplicate id
I am using a js view, in which when I am clicking on an inputfield for thr first time a dialog box pops up, but when second time I do the same it gives an error saying adding element with duplicate id, I have tried using this.createId(), but its not working. Please share some solutions
Dhananjay Choubey replied
Check out this link.
otherwise destroy your dialog after processing by writing oDialog.destroy();