thanks for the reply. But this is not working. coz i need to access the button of the master page from subpage.
i even tried
xfa.form.testForm.Masterpage.page1.resetbutton.presence = "invisible"
and even xfa.resolvenode("xfa....resetButton").presence = "invisible"
but none of them are working..
Any other idea??