how can i set position popup(Attaching pop-up to the button)

how can i set position popup(Attaching pop-up to the button)

Hi,

Popup position is set automatically when you attach popup to an input. You can change the position of the popup after it is displayed via setPosition method:

$$(“popupId”).attachEvent(“onShow”,function(){
$$(“popupId”).setPosition(x,y);
})

thank you very much :smiley: