Is it really not possible to add actions to this shortened if statement in js?
<pre><code>(category=="Villor/Radhus mm")?byId("nav_sub_villor").style.display='block' :  byId("nav_sub_villor").style.display='none';
</code></pre>

<p>I would like to call a function if the statement above is true...</p>

<p>But it doesn't seem possible...</p>

<p>Just want to be sure it is not possible, does anybody know?</p>
