actually I'm not really sure of *best* way on this one but can help
steer you. I've only ever needed to use change() on selects without
selecting all.Thre might be better suggesstions like blur or
if "select all" is first there won't be a change, and it seems IE
doesn't like $("option")
thanks, charlie,
jquery feels like such a puzzle, and i get bits and pieces from
everywhere.
Can we take this to another level? what if i want to have a first
element in the list, example --select all--, how do i set it so when
this is selected, all values get selected.
On Jun 23, 11:55 am,
$("#yourSelect option").attr("selected","selected");
shaded wrote:
is there a way to select all values of a multiple select list by
default?
3 matches
Mail list logo