saving a parameter
I am returing a parameter to a function during a mouse over. the function works fine but I want to save the parameter value as a variable.
How do I do it?
Can you post the function you are using? It would help to see it.
I think what you want is a global variable, right? If so, then you must declare it outside of the function. Like this:
I think that will do what you wanted.
if (succeed != true)
Check out my site!
I'm assuming you're doing it something like this...
Is that correct?
if so, in your function just go...
somenewvar = var;
This will throw the value of var into the somenewvar variable.
that was the fiirst thing I tried, but I am getting a little too fancy for my own good. Tried following on the debugger instead of placing a simple alert() to track it. And then didn't set the break point right.
Thansk for the help
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)