.get() converts a jQuery object to a DOM element that Javascript can use without jQuery.
.get()
If I have a DOM element, how can I convert it to a jQuery object?
jQuery main syntax accepts DOM elements: $(theDomElement) .
$(theDomElement)
jQuery( element )element A DOM element for wrapping a jQuery object.
jQuery( element )
element A DOM element for wrapping a jQuery object.
Recall that you do this every time you write $(this) .
$(this)
var myDOMElement = document.getElementById("myDomId"); var myDOMElementConvertedTojQueryObject = $(myDOMElement);
Source: https://habr.com/ru/post/900574/More articles:Android Can you update the Cursor results for SQLite? - javaShould I include a media type in my ETag? - httpWhy does NHibernate throw a "StaleObjectStateException"? - c #Has LucenePDFDocument left pdfbox? - pdfboxiOS that works on two screens (no mirroring) - iosHow to use iOS 5+ AirPlay for the second screen - ios5Javascript Array with number as property name - javascriptResque as a technology for .NET. - c #how to isolate a function - rPHP - several different databases. - oopAll Articles