hi im new to this
ive got a question is it possible to link an item to start another javascript?
possibly with an on click funktion ?

so that the javascript only starts once you click an item on the navigation bar?

<script type="text/javascript">


                            leftMenu : 
                    'item1' : {
                                    'label' : 'Item One',

                                    <input type="text" onFocus="doSomething()  {



Yes, of course. Did you spend any time at all looking this up?


//there are many more ways in jQuery to bind events, look at bind, live, one, delegate, on


document.getElementById('elementId').onclick = callFunction;


<element id="elementId" onclick="callFunction"></element>