I Have an anchor tag like this:
<a href="secondPage.html" id="seeVid">
<div class="box" style="margin-top:100px;" id="bee">
<center><h2>Java</h2></center>
<center><p>Hello paragraph for .</p></center>
</div></a>
When I click it I want to go to my second page and append a paragraph within that div how do I accomplish this here's my jquery but it doesn't seem to work?
$(document).ready(function(){
$("a#seeVid").click(function(){
$('div.allVid').append("<p>Second Paragraph</p>");
});
});
Here I am trying to see when my anchor tag with the id "seeVid" is clicked and then I go to my div in my second page with class "allVid" and I want to append a paragraph, but this isn't working?