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

range polyfill does not work when loaded via ajax. #14

Closed
juliandormon opened this issue Aug 12, 2013 · 1 comment
Closed

range polyfill does not work when loaded via ajax. #14

juliandormon opened this issue Aug 12, 2013 · 1 comment

Comments

@juliandormon
Copy link

I'm having a problem with the range input polyfill. It works great when I load a page normally, but when I load form elements via ajax, the styling is apparent (the blue dragger ball is visible) but the length of the widget is set to 0. If I manually set the length in firebug after the load, the slider looks perfect but fails to register any input. Is there some kind of callback that I need to make after loading forms via ajax? Thanks so much!!!!! BTW, I am using Firefox version 22 on Windows 7 to test.

@zoltan-dulac
Copy link
Owner

At the moment, this script does not support loading the script via ajax separately from the way html5Forms.js does. This may be supported in a future release if there is a lot of demand, or if someone takes the initiative to fix this (I don't need this feature myself, and since it dynamically loads scripts as needed anyway, I am not inclined to make this change myself in the near future.

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

2 participants