Hi, simple question. A while back I wrote some code that works just fine. Except I was trying to explain to someone what I did, and I can't rememeber what this syntax means, I wrote it based on some examples online and forgot, oops.
Can someone please tell me what does the *= do in this part of code? Why do I need that star (*)?
find('#[id*=shot_number_]')
var cloned = $('#tbl_shots tbody tr:last').clone(true);
cloned.find('#[id*=shot_number_]').attr('id', 'shot_number_' + numOfShots).attr('name','shot_number_' + numOfShots);
Thanks!