The syntax in jquery to select an id is $("#id") so try adding a $ sign before ("#btn") so that your statement looks like below -
myButton.attachPress(function(){ $("#btn").fadeOut(); });
Thanks,
Sharan
The syntax in jquery to select an id is $("#id") so try adding a $ sign before ("#btn") so that your statement looks like below -
myButton.attachPress(function(){ $("#btn").fadeOut(); });
Thanks,
Sharan