jQuery Tutorial: Selecting Multiple Select Form Elements on the Fly A couple of weeks ago, a client of ours needed a simple way to select some or all options in a multiple select form element that contained hundreds of options. Basically, they had various State/County combination's that they needed to assign to different pieces of content. So Article X might need to select all Counties in State Y.
![jQuery Tutorial: Selecting Multiple Select Form Elements on the Fly | Chromatic](https://cdn-ak-scissors.b.st-hatena.com/image/square/c7e7042a6f66299ad0f8332299b46c7aca9ff5ab/height=288;version=1;width=512/https%3A%2F%2Fres.cloudinary.com%2Fdg2jvufku%2Fimage%2Fupload%2Fc_fit%2Cco_rgb%3Ad3d3cb%2Ch_430%2Cl_text%3Afonts%253AEllenLuff-LarkenBlack-y5laz3.otf_70_center%3AjQuery%2520Tutorial%253A%2520Selecting%2520Multiple%2520Select%2520Form%2520Elements%2520on%2520the%2520Fly%2Cw_1000%2Ffl_layer_apply%2Fchromatic-base-background-image_pmnse4.png)