SamWM/jQuery-Plugins — Issue #33: newbie question -- how to install/initialize
Author: ccurvey
Created: 2012-02-17 13:23:09+00:00
State: open

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?