question: public static input createClosePopupButton ( Properties ctx ) { String text = "Close" ; if ( ctx != null ) text = Msg . getMsg ( ctx , "Close" ) ; input close = new input ( "button" , text , "  " + text ) ; close . setID ( text ) ; close . setClass ( "closebtn" ) ; close . setTitle ( "Close PopUp" ) ; close . setOnClick ( "self.close();return false;" ) ; return close ; }
target:  Get Close PopUp Buton