I have never used javascript before, but I know most other programming languages.
<div id="test">
<p class="location">New Jersey</p>
</div>
Is there a way to take out "New Jersey" and save it in a variable using javascript and then to remove the <div> who contains the class="location" (its parent?)