JQuery wildcard selection

To select a wildcard selection on jquery, use the selector:

$("[id^=pnl]")

with ‘pnl’ replaced by the name of your selector.

For example, when trying to select all elements with the id ‘sub_’ prefix, just do a

$("[id^=sub]")