Re: [jQuery] Help with change event

2010-01-06 Thread John Arrowwood
The last .change() fires the event. On Wed, Jan 6, 2010 at 6:43 AM, NotionCommotion wrote: > > > I am interested in the event change, and am looking at > http://docs.jquery.com/Events/change. > > $("select").change(function () { > var str = ""; > $("select option:selected").eac

[jQuery] Help with change event

2010-01-06 Thread NotionCommotion
I am interested in the event change, and am looking at http://docs.jquery.com/Events/change. $("select").change(function () { var str = ""; $("select option:selected").each(function () { str += $(this).text() + " "; }); $("div").text(s