How can jquery variables passed?
<p>Please can help. How can the variables passed. I have function for select option</p>

<p>Example
jquery:-</p>

<pre><code>var one = '1';
var two = '2';

$(document).ready(function(){  
    $(#).change(function(){
        if(one == '1'){
            var one = 'hello';
        }
    });

    $(#).change(function(){
        if(two == '2'){
            var two = 'world!';
        }
    });

    if (one =='hello' &amp;&amp; two =='world!'){
        $(#welcome).hmtl("hello world!")
    }
});
</code></pre>
