[jQuery] Re: Getting a variable out of a function

2009-07-05 Thread pixelvoodoo
do runs inside of this > > var active = 'false'; // when declaring a variable say *var myVariableName = > value;* > > $(".menulink").mouseover(function() { // there is no need to include > (active) > // perform these methods while mouseover menu link > active

[jQuery] Re: Getting a variable out of a function

2009-07-05 Thread pixelvoodoo
mouseover(function() { // there is no need to include > (active) > // perform these methods while mouseover menu link > active = 'true'; > $(".TEST")>html(active); > > }); > }); > > > > I also noticed you [b] [/b] tags - do not use them &g

[jQuery] Getting a variable out of a function

2009-07-04 Thread pixelvoodoo
Hi, New to JQuery and hope this question has an easy solution. At present I am trying to assign a global variable from a function which is called on a mouseover event, fired by going over a hyperlink with a specific class. The code: [b] active = "false" $('.menulink').mouseover( f