Use window.close(); ;)
Dennis Byrne >-----Original Message----- >From: Dave [mailto:[EMAIL PROTECTED] >Sent: Tuesday, March 28, 2006 02:28 AM >To: users@myfaces.apache.org >Subject: How to close popup using a button > >I like to add a <commandbutton> (Close) in a popup, how to close the popup >when user click the button? Thanks! > > >--------------------------------- >New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low >rates.