Jeeten Parmar Jeeten Parmar - 1 year ago 118
jQuery Question

Find semantic markup tags using jquery

I want to find

semantic markup tags
using jquery.


<header id="header">Header</header>
<footer id="footer">Footer</footer>

I tried all following code but it is not working.


Please help me to solve this.

Answer Source

try wrapping you code under document.ready function

$(function() {
  // your code
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download