How to access the HTML tag or element using jQuery ?
Syntax of get Element By id using jQuery
Get Element by id="mycontent" and display it in the HTML element with id="results" on button click
First we will get the Element from id="mycontent" then will store into the variable and then will assign the content value to the id="result" using jQuery function html() function.
Output of above Code
Welcome to CodingPk jQuery Tutorial Series
I am Div with ID = result