How to enable element using siblings jquery
<p>Looking below i would like to get the value of the cnhor element and if its equal to
"Guide" enable the corresponding button.
Tried the below but couldn't get it to work.:(
Have a feeling i'm almost there.
Thanks</p>

<pre><code> $("button").siblings("a").each(function () {
                    var b = $(this).text();
                    var n = $.trim("Guide");


                    if ($.trim(b) == n) {

                        $("button").removeAttr("disabled");

                    }


  &lt;button id="Toggle5" disabled="disabled"&gt;
                        Show &lt;/button&gt;
                    &lt;a href="#" id="docsID5" target="_blank"&gt;

                        Guide 
                    &lt;/a&gt;
</code></pre>
