selector class starts with jquery code example
Example 1: jquery selector attribute value starts with
$( "input[name^='news']" ) //name starts with news
Example 2: jquery selector id that starts with
// Select id that starts with "GFG"
$( "[id^='GFG']" ).css("background-color", "pink");