Setting variable to true on click - Doesn't seem to work
<p>I have a page with 2 simple tabs. The tabs are showing if disable_function = false.</p>

<p>At the end of the page I have a simple trigger which I want to set the variable disable_function = true so that the tabs won't work - when ever the trigger is ON.</p>

<p>I tried few ways but it didn't seem to work.</p>

<p>Here is a fiddle if you want to have a look of the code: <a href="http://jsfiddle.net/db7tK/" rel="nofollow">http://jsfiddle.net/db7tK/</a></p>

<p>Thanks in advance.</p>
