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

Dynamic elements #19

Closed
ghost opened this issue Aug 18, 2014 · 3 comments
Closed

Dynamic elements #19

ghost opened this issue Aug 18, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 18, 2014

Hi, I am creating dynamic text inputs with ajax, then I am trying to call typewatch on their ID, but nothing happens.

Am I doing something wrong?
$("#new_element").typeWatch( options );

It works fine on static inputs

Thank you for help

@dennyferra
Copy link
Owner

It should work... Do you have an example of how you're adding the elements?

Also are you calling typeWatch before the element is created or after?

Thanks

On Aug 18, 2014, at 3:25 AM, holubar notifications@github.com wrote:

Hi, I am creating dynamic text inputs with ajax, then I am trying to call typewatch on their ID, but nothing happens.

Am I doing something wrong?
$("#new_element").typeWatch( options );

It works fine on static inputs

Thank you for help


Reply to this email directly or view it on GitHub.

@nickfun
Copy link

nickfun commented Aug 25, 2014

Holubar, I've got an example here of adding TypeWatch to a dynamic element. Look it over and maybe it will point you in the right direction.

@ghost
Copy link
Author

ghost commented Sep 17, 2014

thanks for help, I was doing it wrong :))

@ghost ghost closed this as completed Oct 7, 2014
This issue was closed.
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