Q:

Jquery: If page has meta content- have css

Trying to set up a div, visible only from pages with certain meta content
Here is the code. Picked up the first line somewhere. I'm a JQ noob, so pretty sure there is a mistake. But, for some reason, not much info on reading meta with jquery out there. 
var m = $("meta[content=submenu]");    

$(".extramenulevel").css('display','block');

A:

Just use something like:
var author = $('meta[name=author]').attr("content");

(source: Is it possible to use jQuery to read meta tags)
so you could do in your case something like:
if($('meta[content=submenu]').length>0)
    $(".extramenulevel").css('display','block');

