Thanks Raja. That worked!
For reference, I also needed to put something in place to wait until
the .trigger('refreshOpts'); call had completed. The use of animate()
as a sort of sleep routine is a bit of a kludge, since it
seems .trigger() doesn't implement a callback, so I wound up with
this:
$("#refSelectBox option[text^=" + author + "]").attr("selected","selected");
I guess the above is doable.
let me know.
- raja koduru
On Thu, Apr 16, 2009 at 11:16 PM, Nando wrote:
>
> I'd like set a newly inserted option in a select box as the selected
> option. I'm trying to use jQuery to sele
2 matches
Mail list logo