Let me suggest something better than "nothing works" - that is not goin to get you any help quick.
--
Paul T.
Can you post your code of the click event on the button together with the alert()?
My assumption is your loosing scope.
--
Paul T.
-- Sent from Mobile