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">

          $(document).ready(function(){

              $.uiPro({
                            leftMenu : 
                            {
                    'item1' : {
                                    'label' : 'Item One',

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

                                                                };">,

                                                                */
Member Avatar for stbuchok

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

$('#elementId').click(function(){
    callFunction();
});

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

or 

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

or

<element id="elementId" onclick="callFunction"></element>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.