js selector element attribute startswith code example Example: jquery selector attribute value starts with $( "input[name^='news']" ) //name starts with news