wildcard Wildcards in jQuery selectors

Subject:

To get all the elements starting with "jander" you should use:

$("[id^=jander]")

To get those that end with "jander"

$("[id$=jander]")

See also the JQuery documentation

 

references http://stackoverflow.com/questions/5376431/wildcards-in-jquery-selectors

2016-01-04 20:17:28gstlouis