jquery id like string code example
Example: jquery selector id that starts with
// Select id that starts with "GFG"
$( "[id^='GFG']" ).css("background-color", "pink");
// Select id that starts with "GFG"
$( "[id^='GFG']" ).css("background-color", "pink");