How can I convert a jQuery object to an Element?

You can use the dereferencing operator, or the .get() method to “Retrieve the DOM elements matched by the jQuery object.”

Examples:

txtArea[0].value = "something";

or:

txtArea.get(0).value = "something";

Leave a Comment