$('[id^=editDialog]')
$( "input[name^='news']" ) //name starts with news
$("td[id^=" + value + "]")
// Select id that starts with "GFG" $( "[id^='GFG']" ).css("background-color", "pink");