How to access a methodB variable value from methodA
<p>I have 2 button events. When I click <code>button1</code>, I am calling (by passing some values) <code>methodA</code> where I am dynamically creating an array of checkboxes and an array. Now if I click <code>button2</code>, I should be able to get the values which I have set while clicking <code>button1</code> (checkbox array and array values). How can I do this? Urgent help is required from you friends.</p>
