40
rated 0 times
[
43]
[
3]
/ answers: 1 / hits: 18327
/ 11 Years ago, tue, june 18, 2013, 12:00:00
I need to open a Popup window on clicking a button in a xhtml page.
I have written something like that:
<p:commandButton type=submit value=Select User onclick=showGrpMemberSearchPageCalenderLeave()/>
and the java script is like:
function showGrpMemberSearchPageCalenderLeave()
{
window.open('./SearchGroupMembersLeaveCalander.xhtml,resizable=no,
toolbar=no,scrollbars=yes,height=450,width=530,top=145,left=235');
return true;
}
But it just opens the page in the current window, no pop up window is opening.Please suggest.
More From » jsf