I want to get the value inside this <p>
tag using a jquery code which starts with a $
sign, i only had to make it work using innerHTML.
Here is my sample code:
<p id="nameDisplay">Sample Name</p>
Here is my innerHTML code that worked:
document.getElementById('nameDisplay').innerHTML
I want to learn how to code it using jquery, thanks in advance.