Want to emulate bootstrap <a href='#someid'>

Want to emulate bootstrap <a href='#someid'>

Hey gusy i want to manipulate bootsrap work which look like this

<a href='#divcontent' data-block="yes">Show div1</a>
<div id='#divcontent' style="display:none">This is a content</div>

when if we cli c k on Show div i divconte n t will show below my jquery code

$('a[data-block=yes]').each(
function(){
     var x= " $( '"  + $(this).attr('id')+" ')  "
    x.show
}
)

when i try error is found . Object $('#divcontent') has no method show . why this happen . i have joined #id with   $

Any replay is very appreciated thanks