[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(str);

[jQuery] Re: Help with change event

2010-01-06 Thread NotionCommotion
Thanks John, The last .change() fires the event. Looking through the other documentation, it appears that the other event methods do not need a similar trailing method to fire the event, only change. I've even did a test where I didn't include the last change(), and it appeared to work. Could

[jQuery] Re: Help with change event

2010-01-07 Thread NotionCommotion
Sweet! Thanks for the help!