calling Action method of a commandbutton from java script
hi all,can anyone tell me how to call action method of a commandbutton from java script.The action method in the backing bean prepares and returns a url which needs to be opened in a new browser window.any help appreciated