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

newbie question -- how to install/initialize #33

Open
ccurvey opened this issue Feb 17, 2012 · 0 comments
Open

newbie question -- how to install/initialize #33

ccurvey opened this issue Feb 17, 2012 · 0 comments

Comments

@ccurvey
Copy link

ccurvey commented Feb 17, 2012

I must missing something obvious. I tried this:

$("#id_letter_types").addOption(data.letter_types, false);

but I'm getting "Uncaught Type Error: Object [object Object] has no method addOption"

(chrome's developer tools tell me that #id_letter_types points to the right stuff, and data.letter_types is fine too)

so I'm guessing that there must be something I have to do in document.ready() to get the addOption function tied to my select widget.

any hints?

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