TypeError getElementsByTagName is not a function issue
Does anyone have any ideas what might be causing this? The object returned by the jQuery constructor doesn’t have the .getElementsByTagName() method. $(‘selector’) returns a jQuery object. .getElementsByTagName() is a native JavaScript method of DOM elements. To look for elements with a certain tagname using the jQuery object you currently have: To get a like-for-like … Read more