Open sparky672 opened 11 years ago
I see from the code that it's simply trying to use the initial id
of the original input
element. However, I don't have id
's on my inputs on this page. They are not required for this project and they are not required to make valid HTML.
There needs to be a fallback for when there is no id
, in order to avoid a duplication of this id="undefined_display"
.
I have several date & time fields so I need to invoke the plugin several times on the same page.
The plugin is dynamically creating invisible
input
fields, each with its ownid="undefined_display"
.Duplicate
id
's on the same page is invalid HTML... can we update plugin so that this is aclass
instead?Thanks!