I have this OnChange function:
$("select[id^=type]").change(function(){/*...*/});
The question is: How can I call this from the following function:
$("#all_db").change(function()
{
/*...*/
$("select[id^=type]").each.trigger("change"); //I have tried this
});
is all you need. I would quote the value you pass to the
startsWithselector.