I am using latest Wordpress 3.6. I'd like to add some HTML code to the page using js. I put a
<script> $('p.content').addClass('highlight'); </script>
in the head are, but it doesn't work.
So I want to add the class highlight to a p element with calss=content.
the reason I want to use it, is to change the_content output in wordpress. I just want the text inside of ... I would also love to understand how I could change this with e.g. the functions.php... thanks.