Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid HTML generated by multiple pickers #14

Open
sparky672 opened this issue Mar 27, 2013 · 1 comment
Open

Invalid HTML generated by multiple pickers #14

sparky672 opened this issue Mar 27, 2013 · 1 comment

Comments

@sparky672
Copy link

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 own id="undefined_display".

Duplicate id's on the same page is invalid HTML... can we update plugin so that this is a class instead?

Thanks!

@sparky672
Copy link
Author

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant