javascript id begins with code example Example: jquery selector attribute value starts with $( "input[name^='news']" ) //name starts with news