Passing variable between jQuery function

I'm having a question how can I passing variable between jQuery function ?

Thank you