No, there is no such method in the DOM. The id has a special meaning, the name has not