daveVk - 12:07 am on Feb 18, 2012 (gmt 0)
$(sidemenu_link == h1_text)
evaluates to $(true) or $(false) ?
$('#sideMenu a').text() gets the combined text content.
either use the contains selector [api.jquery.com...] that will probably suffice, "text within" rather than exact match.
or use .each to test each individually.